diff --git a/.codespell/ignore-words.txt b/.codespell/ignore-words.txt index 39eb42e0df..5a54e22f0d 100644 --- a/.codespell/ignore-words.txt +++ b/.codespell/ignore-words.txt @@ -15,4 +15,5 @@ busses cyphertext dum deque +deques extint diff --git a/docs/library/collections.rst b/docs/library/collections.rst index 01882ba244..2cc1a215d1 100644 --- a/docs/library/collections.rst +++ b/docs/library/collections.rst @@ -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. diff --git a/tests/basics/deque2.py b/tests/basics/deque2.py index 1b6f072da5..22d370e943 100644 --- a/tests/basics/deque2.py +++ b/tests/basics/deque2.py @@ -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: