Skip to content

Commit ce2c3d7

Browse files
committed
revert deque(s)
1 parent c2d506b commit ce2c3d7

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.codespell/ignore-words.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@ busses
1515
cyphertext
1616
dum
1717
deque
18+
deques
1819
extint

docs/library/collections.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ Classes
1616

1717
.. function:: deque(iterable, maxlen[, flags])
1818

19-
Dequeues (double-ended queues) are a list-like container that support O(1)
20-
appends and pops from either side of the deque. New dequeues are created
19+
Deques (double-ended queues) are a list-like container that support O(1)
20+
appends and pops from either side of the deque. New deques are created
2121
using the following arguments:
2222

2323
- *iterable* must be the empty tuple, and the new deque is created empty.

tests/basics/deque2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Tests for dequeues with "check overflow" flag and other extensions
1+
# Tests for deques with "check overflow" flag and other extensions
22
# wrt to CPython.
33
try:
44
try:
@@ -22,7 +22,7 @@
2222
except ValueError:
2323
print("ValueError")
2424

25-
# Only fixed-size dequeues are supported, so length arg is mandatory
25+
# Only fixed-size deques are supported, so length arg is mandatory
2626
try:
2727
deque(())
2828
except TypeError:

0 commit comments

Comments
 (0)