revert deque(s)

This commit is contained in:
hathach 2023-03-20 12:12:30 +07:00
parent c2d506b1fa
commit ce2c3d7dc5
No known key found for this signature in database
GPG Key ID: F5D50C6D51D17CBA
3 changed files with 5 additions and 4 deletions

View File

@ -15,4 +15,5 @@ busses
cyphertext
dum
deque
deques
extint

View File

@ -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.

View File

@ -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: