[New-bugs-announce] [issue31571] Redundand information on Doc/reference/lexical_analysis.rst

Guilherme Praciano Karst Caminha report at bugs.python.org
Sun Sep 24 10:56:17 EDT 2017


New submission from Guilherme Praciano Karst Caminha:

The file Doc/reference/lexical_analysis.rst has at least two redundant parts.

The first one is quoted below:
"As of Python 3.3 it is possible again to prefix string literals with a u prefix to simplify maintenance of dual 2.x and 3.x codebases."

This is repeated a couple paragraphs after:
"New in version 3.3: Support for the unicode legacy literal (u'value') was reintroduced to simplify the maintenance of dual Python 2.x and 3.x codebases. See PEP 414 for more information."


Also, this other one:
"Note that numeric literals do not include a sign; a phrase like -1 is actually an expression composed of the unary operator - and the literal 1."

Is literally repeated twice, only that on the first time it has quotes around the - operator:
"Note that numeric literals do not include a sign; a phrase like -1 is actually an expression composed of the unary operator ‘-‘ and the literal 1."

----------
assignee: docs at python
components: Documentation
messages: 302859
nosy: Guilherme, docs at python
priority: normal
pull_requests: 3705
severity: normal
status: open
title: Redundand information on Doc/reference/lexical_analysis.rst
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31571>
_______________________________________


More information about the New-bugs-announce mailing list