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@python components: Documentation messages: 302859 nosy: Guilherme, docs@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 <rep...@bugs.python.org> <https://bugs.python.org/issue31571> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com