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 <rep...@bugs.python.org> <http://bugs.python.org/issue25986> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com