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

Daniel Urban report at bugs.python.org
Mon Feb 7 18:03:03 CET 2011


New submission from Daniel Urban <urban.dani+py at 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 doesn't!* -- d['xx'] is STILL range(4)!

----------
assignee: docs at python
components: Documentation
messages: 128138
nosy: docs at python, durban
priority: normal
severity: normal
status: open
title: 2.x range() in 3.x shelve documentation
versions: Python 3.1, Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11141>
_______________________________________


More information about the docs mailing list