[New-bugs-announce] [issue25808] The Python Tutorial 5.3. Tuples and Sequences

Ben Schreib report at bugs.python.org
Sat Dec 5 12:25:57 EST 2015


New submission from Ben Schreib:

The example given in section 5.3 shows an output of "t[0] = 88888" but I believe it should be "t[0] = 12345"

>>> t
(12345, 54321, 'hello!')
>>> # Tuples may be nested:
... u = t, (1, 2, 3, 4, 5)
>>> u
((12345, 54321, 'hello!'), (1, 2, 3, 4, 5))
>>> # Tuples are immutable:
... t[0] = 88888

----------
assignee: docs at python
components: Documentation
messages: 255962
nosy: Ben Schreib, docs at python
priority: normal
severity: normal
status: open
title: The Python Tutorial 5.3. Tuples and Sequences
type: enhancement
versions: Python 3.5

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


More information about the New-bugs-announce mailing list