[issue25986] Collections.deque maxlen: added in 2.6 or 2.7?

Terry J. Reedy report at bugs.python.org
Fri Jan 1 15:48:20 EST 2016


New submission from Terry J. Reedy:

https://docs.python.org/2.6/library/collections.html#collections.deque has this line "Changed in version 2.6: Added maxlen parameter."

https://docs.python.org/2.7/library/collections.html#collections.deque kept the sentence above and added this entry after the list of methods.

Deque objects also provide one read-only attribute:
maxlen
    Maximum size of a deque or None if unbounded.
    New in version 2.7.

Which is it?

----------
messages: 257299
nosy: rhettinger, terry.reedy
priority: normal
severity: normal
stage: needs patch
status: open
title: Collections.deque maxlen: added in 2.6 or 2.7?
type: behavior
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25986>
_______________________________________


More information about the Python-bugs-list mailing list