-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Open
Labels
enhancementFeature requests, new feature implementationsFeature requests, new feature implementationspy-coreRelates to py/ directory in sourceRelates to py/ directory in source
Description
I would like to construct a deque as follows collections.deque(maxlen=10). For this to work, iterables must have a default. The default should be an empty tuple or None, see: https://docs.python.org/3/library/collections.html#collections.deque
maxlen should also support keyword arguments but would not require a default, i.e not optional, since I don't need arbitrarily (unbounded) length deques.
Metadata
Metadata
Assignees
Labels
enhancementFeature requests, new feature implementationsFeature requests, new feature implementationspy-coreRelates to py/ directory in sourceRelates to py/ directory in source