Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PEP 673: Fix a couple of typos (#2419)
* Name this protocol to match usage It would have been possible here to change the bound of the TypeVar on line 495 to 'Shape', however I've opted to change the names of the definitions so that they match the later (similar) definitions of this protocol. * Fix example generic class name I'm guessing this was just a copy/pasta error or similar; there is no generic class named 'Foo' which is in scope here, however there is a 'Bar' that has just been defined and isn't yet used.
- Loading branch information