[ty] Use "cannot" consistently over "can not" (#21255)

This commit is contained in:
Alex Waygood
2025-11-03 10:38:20 -05:00
committed by GitHub
parent e8c35b9704
commit 39f105bc4a
24 changed files with 39 additions and 39 deletions

View File

@@ -118,7 +118,7 @@ def takes_other_protocol(f: OtherProtocol): ...
takes_other_protocol(SubclassOfAny())
```
A subclass of `Any` cannot be assigned to literal types, since those can not be subclassed:
A subclass of `Any` cannot be assigned to literal types, since those cannot be subclassed:
```py
from typing import Any, Literal