diff -r 8676e436c0f0 Doc/tutorial/datastructures.rst --- a/Doc/tutorial/datastructures.rst Wed May 21 17:12:21 2014 +0300 +++ b/Doc/tutorial/datastructures.rst Thu May 22 10:33:25 2014 -0400 @@ -111,10 +111,15 @@ >>> a.sort() >>> a [-1, 1, 66.25, 333, 333, 1234.5] + >>> a.pop() + 1234.5 + >>> a + [-1, 1, 66.25, 333, 333] You might have noticed that methods like ``insert``, ``remove`` or ``sort`` that -modify the list have no return value printed -- they return ``None``. [1]_ This -is a design principle for all mutable data structures in Python. +only modify the list have no return value printed -- they return the default +``None``. [1]_ This is a design principle for all mutable data structures in +Python. .. _tut-lists-as-stacks: