summaryrefslogtreecommitdiffstats
path: root/Doc/reference/lexical_analysis.rst
Commit message (Collapse)AuthorAgeFilesLines
* bpo-41762: Fix usage of productionlist markup in the doc (GH-22281)Miss Islington (bot)2020-09-181-7/+7
| | | | | | | | | | Use an unique identifier for the different grammars documented using the Sphinx productionlist markup. productionlist markups of the same grammar, like "expressions" or "compound statements", use the same identifier "python-grammar". (cherry picked from commit 8af239eacfcf52e4e0e2b0223e7cea4672309483) Co-authored-by: Victor Stinner <vstinner@python.org>
* [doc] Remove superfluous comment about equal in f-strings (GH-22006)Miss Islington (bot)2020-09-101-1/+1
| | | | | | Automerge-Triggered-By: @kushaldas (cherry picked from commit 788b79fa7b6184221e68d4f1a3fbe0b3270693f6) Co-authored-by: Andre Delfino <adelfino@gmail.com>
* [3.9] bpo-41045: Document debug feature of f-strings ('=') (GH-21509) (GH-21645)Guido van Rossum2020-07-271-5/+32
| | | | | | | Co-Authored-By: Rishi <rishi93dev@gmail.com> (cherry picked from commit 13efaec) Co-authored-by: amaajemyfren <32741226+amaajemyfren@users.noreply.github.com>
* Update lexical_analysis.rst (GH-17508)Miss Islington (bot)2020-06-121-1/+1
| | | | | | | | Use Sphinx role markup for `str.format`. Automerge-Triggered-By: @csabella (cherry picked from commit e2fb8a2c42ee60c72a40d93da69e9efc4e359023) Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
* bpo-40439: Update broken link in lexical analysis docs (GH-20184)Miss Islington (bot)2020-05-231-1/+1
| | | | | | Automerge-Triggered-By: @csabella (cherry picked from commit af23f0d3cf19343512e6ca1fe1d46a5dbe425719) Co-authored-by: Matteo Bertucci <matteobertucci2004@gmail.com>
* bpo-40045: Make "dunder" method documentation easier to locate (#19153)Javad Mokhtari2020-03-271-5/+5
| | | | | | | | | * issue 40045 * Update lexical_analysis.rst Make "dunder" method documentation easier(GH-19153) Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>
* Update some www.unicode.org URLs to use HTTPS. (GH-18912)Benjamin Peterson2020-03-111-2/+2
|
* closes bpo-39926: Update Unicode to 13.0.0. (GH-18910)Benjamin Peterson2020-03-111-1/+1
|
* bpo-39545: Document changes in the support of await in f-strings. (GH-18456)Serhiy Storchaka2020-02-131-0/+5
| | | https://bugs.python.org/issue39545
* bpo-35224: Additional documentation for Assignment Expressions (GH-15935)Emily Morehouse2019-09-111-1/+1
| | | | | | | | | | | | | Add or update assignment expression documentation for: - FAQ - Design - Reference - Expressions - Reference - Lexical Analysis https://bugs.python.org/issue35224 Automerge-Triggered-By: @matrixise
* bpo-32912: Revert SyntaxWarning on invalid escape sequences. (GH-15195)Gregory P. Smith2019-08-101-5/+3
| | | | | | | | | | | | | | | | | | DeprecationWarning will continue to be emitted for invalid escape sequences in string and bytes literals just as it did in 3.7. SyntaxWarning may be emitted in the future. But per mailing list discussion, we don't yet know when because we haven't settled on how to do so in a non-disruptive manner. (Applies 4c5b6bac2408f879231c7cd38d67657dd4804e7c to the master branch). (This is https://github.com/python/cpython/pull/15142 for master/3.9) https://bugs.python.org/issue32912 Automerge-Triggered-By: @gpshead
* bpo-34682: Wording and grammatical changes to the ↵divyag92019-05-131-1/+1
| | | | | doc(https://docs.python.org/3) (GH-13120) https://bugs.python.org/issue34682
* closes bpo-36861: Update Unicode database to 12.1.0. (GH-13214)Benjamin Peterson2019-05-091-1/+1
| | | Adds ㋿.
* bpo-36798: Updating f-string docs for := use case (GH-13107)Logan Jones2019-05-061-5/+6
|
* closes bpo-33376: Update to Unicode 12.0.0. (GH-12256)Benjamin Peterson2019-03-101-1/+1
|
* bpo-35054: Add yet more index entries for symbols. (GH-10121)Serhiy Storchaka2018-10-281-12/+11
|
* bpo-35054: Add more index entries for symbols. (GH-10064)Serhiy Storchaka2018-10-261-2/+53
|
* bpo-32912: Replace a DeprecationWarning with a SyntaxWarning (GH-9652)Serhiy Storchaka2018-10-191-2/+5
| | | | for invalid escape sequences in string and bytes literals.
* bpo-33766: Document that end of file or string is a newline (GH-7383)Ammar Askar2018-06-091-5/+6
|
* update to Unicode 11.0.0 (closes bpo-33778) (GH-7439)Benjamin Peterson2018-06-071-2/+2
| | | Also, standardize indentation of generated tables.
* bpo-32735: Fix typo in f-strings datetime format specifier example (GH-5464)Cheryl Sabella2018-01-311-1/+1
| | | | The f-string example for using datetime format specifier does not match the given output. Changed the format from %b to %B so it matches the output of "January".
* Lexical Analysis ref doc: Fix a typo in the string concatenation internal ↵İsmail Arılık2018-01-121-1/+1
| | | | | | | link (GH-5157) In lexical analysis reference documentation, the internal link to the string literal concatenation section was written as`.. _string-catenation:`. Changed that to `.. _string-concatenation:`.
* Improve the F-strings and format specifier documentation (GH-4931)KatherineMichel2017-12-191-4/+5
| | | | Mention that the format-specifier mini language in f-strings is the same one used by str.format.
* F-strings docs: link to Format Specifiers (GH-4888)Mariatta2017-12-151-1/+2
| | | Link to the Format Specification Mini Language section from f-strings' documentation.
* bpo-31810: added missing keywords to docs. (#4140)Tom Floyer2017-11-081-7/+7
| | | | | async and await keywords has been merged into upstream, but they are all missing in the lexical analysis docs. This change adds them to the appropriate keywords section in documentation.
* bpo-31571: Remove duplicated info in Lexical Analysis documentation (GH-3691)Guilherme Caminha2017-09-251-7/+0
| | | | - Remove the second mention about the `u` prefix - Remove the second mention about numeric literals do not include a sign
* bpo-31487: Update F-strings doc example (GH-3627)Mariatta2017-09-171-1/+1
| | | Shorten the comment to: "using integer format specifier"
* Improve f-strings documentation (GH-3604)Mariatta2017-09-161-0/+6
| | | | | Provide additional examples of using format specifiers in f-strings Added examples for using integer and date format specifiers.
* bpo-30736: upgrade to Unicode 10.0 (#2344)Benjamin Peterson2017-06-231-2/+2
| | | Straightforward. While we're at it, though, strip trailing whitespace from generated tables.
* bpo-28739: Document that f-strings cannot be used as docstring (GH-592)Mariatta2017-03-101-0/+11
|
* Update docs to reflect new behavior around backslashes in expressions (not ↵Jason R. Coombs2016-11-061-7/+12
| | | | allowed), matching recent changes to PEP 498.
* Issue #26331: Implement the parsing part of PEP 515.Brett Cannon2016-09-091-16/+29
| | | | Thanks to Georg Brandl for the patch.
* #27364: Deprecate invalid escape strings in str/byutes.R David Murray2016-09-081-0/+4
| | | | Patch by Emanuel Barry, reviewed by Serhiy Storchaka and Martin Panter.
* Issue #26462: Merge code block fixes from 3.5Martin Panter2016-07-291-4/+13
|\
| * Issue #26462: Doc: reduce literal_block warnings, fix syntax highlighting.Martin Panter2016-07-261-4/+13
| | | | | | | | Patch by Julien Palard.
* | Issue #24136: Adjust f-strings doc for interable unpackingMartin Panter2016-06-121-1/+2
| |
* | Issue #26736: Used HTTPS for external links in the documentation if possible.Serhiy Storchaka2016-05-071-1/+1
|\ \ | |/
| * Issue #26736: Used HTTPS for external links in the documentation if possible.Serhiy Storchaka2016-05-071-1/+1
| |
* | Issue #18572: Remove redundant note about surrogates in string escape docBerker Peksag2016-04-241-2/+1
|\ \ | |/
| * Issue #18572: Remove redundant note about surrogates in string escape docBerker Peksag2016-04-241-2/+1
| |
* | Issue #25179: Documentation for formatted string literals aka f-stringsMartin Panter2016-02-131-2/+106
|/ | | | | Some of the inspiration and wording is taken from the text of PEP 498 by Eric V. Smith, and the existing str.format() documentation.
* Issue #24531: Document that encoding lines cannot follow non-comment lines.Robert Collins2015-08-061-2/+4
|\ | | | | | | Patch from Terry Reedy
| * Issue #24531: Document that encoding lines cannot follow non-comment lines.Robert Collins2015-08-061-2/+4
| | | | | | | | Patch from Terry Reedy
* | upgrade to Unicode 8.0.0Benjamin Peterson2015-06-271-2/+2
| |
* | mergeRaymond Hettinger2015-05-221-2/+1
|\ \ | |/
| * Issue #24219: Remove duplicate literal in docs.Raymond Hettinger2015-05-221-2/+1
| |
* | merge with 3.4Georg Brandl2014-10-311-19/+19
|\ \ | |/
| * #22613: remaining corrections in extending/reference docs (thanks Jacques ↵Georg Brandl2014-10-311-19/+19
| | | | | | | | Ducasse)
* | Merge: #18176: Change generic UCD PropList link to version specific link.R David Murray2014-10-101-1/+3
|\ \ | |/
| * #18176: Change generic UCD PropList link to version specific link.R David Murray2014-10-101-1/+3
| |