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

2011-02-07 Thread Daniel Urban
New submission from Daniel Urban urban.dani...@gmail.com: 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

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

2011-02-07 Thread SilentGhost
SilentGhost ghost@gmail.com 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 rep...@bugs.python.org

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

2011-02-07 Thread Raymond Hettinger
Changes by Raymond Hettinger rhettin...@users.sourceforge.net: -- assignee: docs@python - resolution: - accepted ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11141 ___

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

2011-02-07 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 rep...@bugs.python.org