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 doesn't!* -- d['xx'] is STILL range(4)!

----------
assignee: docs@python
components: Documentation
messages: 128138
nosy: docs@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue11141>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to