Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Doc/tutorial/datastructures.rst
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,9 @@ have fast appends and pops from both ends. For example::
'John'
>>> queue # Remaining queue in order of arrival
deque(['Michael', 'Terry', 'Graham'])
>>> queue.appendleft("John") # John is added to front of queue
>>> queue
deque(['John', 'Michael', 'Terry', 'Graham'])


.. _tut-listcomps:
Expand Down
Loading