Closed dscrofts closed 2 years ago
OK! Do you want to put up a tiny PR for it or should I go ahead and make the change Seems reasonable to me. Sorry for the delay in responding...
OK! Do you want to put up a tiny PR for it or should I go ahead and make the change Seems reasonable to me. Sorry for the delay in responding...
Done!
When using
pyrsistent.typing
andPVector
, mypy (version 0.931) gives the following error:Missing positional argument "stop" in call to "delete" of "PVector"
Here is a minimal example to reproduce the issue:
Changing line 71 in
typing.pyi
to have a default optional argument ofNone
seems to fix the error: