summaryrefslogtreecommitdiffstats
path: root/Doc/reference/lexical_analysis.rst
Commit message (Collapse)AuthorAgeFilesLines
* [3.7] bpo-34682: Wording and grammatical changes to the ↵Stéphane Wirtel2019-05-131-1/+1
| | | | | | | | doc(https://docs.python.org/3) (GH-13120) (GH-13281) https://bugs.python.org/issue34682 (cherry picked from commit 778a9107586e29421af3a08209cf0b557c1fe5bc) Co-authored-by: divyag9 <divyam9@gmail.com>
* bpo-35054: Add yet more index entries for symbols. (GH-10121) (GH-10171)Miss Islington (bot)2018-10-281-12/+11
| | | | | (cherry picked from commit 913876d824d969f8c7431e8a9d4610a9a11a786e) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.7] bpo-35054: Add more index entries for symbols. (GH-10064). (GH-10120)Serhiy Storchaka2018-10-261-2/+53
| | | | | (cherry picked from commit ddb961d2abe5d5fde76d85b21a77e4e91e0043ad) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-33766: Document that end of file or string is a newline (GH-7383)Miss Islington (bot)2018-06-101-5/+6
| | | | | (cherry picked from commit 0aa17ee6a76df0946d42e7657a501f1862065a22) Co-authored-by: Ammar Askar <ammar_askar@hotmail.com>
* update to Unicode 11.0.0 (closes bpo-33778) (GH-7439) (GH-7470)Miss Islington (bot)2018-06-071-2/+2
| | | | | | Also, standardize indentation of generated tables. (cherry picked from commit 7c69c1c0fba8c1c8ff3969bce4c1135736a4cc58) Co-authored-by: Benjamin Peterson <benjamin@python.org>
* 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
| |
* | Merge: #18176: fix another reference and add it to the makeunicodedata comment.R David Murray2014-10-091-1/+1
|\ \ | |/
| * #18176: fix another reference and add it to the makeunicodedata comment.R David Murray2014-10-091-1/+1
| |
* | add matrix multiplication operator to correct lists (closes #22142)Benjamin Peterson2014-08-071-2/+2
|/
* #18628: clarify index entry for source file encoding declaration.R David Murray2014-04-171-1/+1
| | | | Patch by Sam Lucidi.
* Add "->" as a delimiter token. Found by James Harding on docs@.Georg Brandl2013-10-081-1/+1
|
* #16127: remove outdated references to narrow builds. Patch by Serhiy Storchaka.Ezio Melotti2012-10-051-3/+1
|
* Fix small overeager edit from 8e47e9af826e.Georg Brandl2012-06-201-1/+1
|
* Issue #15096: Drop support for the ur string prefixChristian Heimes2012-06-201-6/+8
|
* Basic documentation for PEP 414Armin Ronacher2012-03-041-1/+9
|
* update unicode linkBenjamin Peterson2012-02-211-1/+1
|
* Issue #13748: Raw bytes literals can now be written with the `rb` prefix as ↵Antoine Pitrou2012-01-121-1/+5
| | | | well as `br`.
* #12753: Add support for Unicode name aliases and named sequences.Ezio Melotti2011-10-211-4/+13
|
* Issue #10542: Document that identifiers use XID_Start XID_Continue*.Martin v. Löwis2010-12-301-1/+5
|
* Both PEP 3131 and the current implementation use NFKC normalizationAlexander Belopolsky2010-12-221-2/+2
| | | | for identifiers. Fixed the documentation to agree.
* #9451: strengthen warning about __*__ special name usage.Georg Brandl2010-08-021-5/+6
|