File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515cyphertext
1616dum
1717deque
18+ deques
1819extint
Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff line change 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.
33try :
44 try :
2222except 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
2626try :
2727 deque (())
2828except TypeError :
You can’t perform that action at this time.
0 commit comments