[New-bugs-announce] [issue30138] Incorrect documentation of replacement of slice of length 0
Stephen J. Turnbull
report at bugs.python.org
Sat Apr 22 13:24:09 EDT 2017
New submission from Stephen J. Turnbull:
In section 4.6.3. "Mutable Sequence Types" of current documentation, Note 1 to the table says "[iterable] t must have the same length as the slice it is replacing." This is incorrect in the case of extension: s[len(s):] = t according to the rest of the documentation, as well as experiment.
----------
assignee: docs at python
components: Documentation
keywords: easy
messages: 292127
nosy: docs at python, sjt
priority: normal
severity: normal
status: open
title: Incorrect documentation of replacement of slice of length 0
type: behavior
versions: Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30138>
_______________________________________
More information about the New-bugs-announce
mailing list