revert deque(s)
This commit is contained in:
parent
c2d506b1fa
commit
ce2c3d7dc5
@ -15,4 +15,5 @@ busses
|
||||
cyphertext
|
||||
dum
|
||||
deque
|
||||
deques
|
||||
extint
|
||||
|
@ -16,8 +16,8 @@ Classes
|
||||
|
||||
.. function:: deque(iterable, maxlen[, flags])
|
||||
|
||||
Dequeues (double-ended queues) are a list-like container that support O(1)
|
||||
appends and pops from either side of the deque. New dequeues are created
|
||||
Deques (double-ended queues) are a list-like container that support O(1)
|
||||
appends and pops from either side of the deque. New deques are created
|
||||
using the following arguments:
|
||||
|
||||
- *iterable* must be the empty tuple, and the new deque is created empty.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Tests for dequeues with "check overflow" flag and other extensions
|
||||
# Tests for deques with "check overflow" flag and other extensions
|
||||
# wrt to CPython.
|
||||
try:
|
||||
try:
|
||||
@ -22,7 +22,7 @@ try:
|
||||
except ValueError:
|
||||
print("ValueError")
|
||||
|
||||
# Only fixed-size dequeues are supported, so length arg is mandatory
|
||||
# Only fixed-size deques are supported, so length arg is mandatory
|
||||
try:
|
||||
deque(())
|
||||
except TypeError:
|
||||
|
Loading…
Reference in New Issue
Block a user