-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deque.pop() takes no arguments #4364
Comments
Good spot, PR welcome. One issue is that MutableSequence's pop takes an argument (https://github.com/python/cpython/blob/3.8/Lib/_collections_abc.py#L985), so you might run into issues or need to type ignore incompatible override complaints |
I wonder if |
@Akuli that does sound accidental; feel free to submit an issue to CPython. |
According to:
https://docs.python.org/3.8/library/collections.html#collections.deque.pop
But still an argument "i" there:
https://github.com/python/typeshed/blob/master/stdlib/3/collections/__init__.pyi#L215
The text was updated successfully, but these errors were encountered: