[issue11141] 2.x range() in 3.x shelve documentation

2011-02-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed in r88377, thank you! -- nosy: +pitrou resolution: accepted -> fixed stage: -> committed/rejected status: open -> closed versions: -Python 3.3 ___ Python tracker _

[issue11141] 2.x range() in 3.x shelve documentation

2011-02-07 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: docs@python -> resolution: -> accepted ___ Python tracker ___ ___ Python-bugs-list maili

[issue11141] 2.x range() in 3.x shelve documentation

2011-02-07 Thread SilentGhost
SilentGhost added the comment: Here is the patch. -- keywords: +needs review, patch nosy: +SilentGhost versions: +Python 3.3 Added file: http://bugs.python.org/file20713/shelve.rst.diff ___ Python tracker

[issue11141] 2.x range() in 3.x shelve documentation

2011-02-07 Thread Daniel Urban
New submission from Daniel Urban : The example in the shelve documentation (http://docs.python.org/dev/py3k/library/shelve.html#example) uses the old range() (which returned a list): d['xx'] = range(4) # this works as expected, but... d['xx'].append(5) # *this doesn't!* -- d['xx'] is STILL