summaryrefslogtreecommitdiffstats
path: root/Doc/reference/lexical_analysis.rst
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* bpo-32735: Fix typo in f-strings datetime format specifier example (GH-5464) ↵Miss Islington (bot)2018-01-311-1/+1
| | | | | | | | | (GH-5465) 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". (cherry picked from commit b299393cc372f3ecbef4304f8eaa4c7838e975ca) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
* Lexical Analysis ref doc: Fix a typo in the string concatenation internal ↵Miss Islington (bot)2018-01-121-1/+1
| | | | | | | | link (GH-5157) (GH-5160) In lexical analysis reference documentation, the internal link to the string literal concatenation section was written as`.. _string-catenation:`. Changed that to `.. _string-concatenation:`. (cherry picked from commit 3764bb075a73074f55568fc7c37adde6054eb59a)
* Improve the F-strings and format specifier documentation (GH-4931) (GH-4933)Miss Islington (bot)2017-12-191-4/+5
| | | | | Mention that the format-specifier mini language in f-strings is the same one used by str.format. (cherry picked from commit f4e21a2a72f76d75a6cc6f74faf910a5f3108482)
* F-strings docs: link to Format Specifiers (GH-4888) (GH-4889)Miss Islington (bot)2017-12-151-1/+2
| | | | Link to the Format Specification Mini Language section from f-strings' documentation. (cherry picked from commit d924fa523df766dbf2f8b6a28ae502eb3433bfe5)
* bpo-31571: Remove duplicated info in Lexical Analysis documentation ↵Miss Islington (bot)2017-09-251-7/+0
| | | | | | | (GH-3691) (GH-3754) - Remove the second mention about the `u` prefix - Remove the second mention about numeric literals do not include a sign (cherry picked from commit 4a2d00cb4525fcb3209f04531472ba6a359ed418)
* bpo-31487: Update F-strings doc example (GH-3627) (GH-3628)Miss Islington (bot)2017-09-171-1/+1
| | | | Shorten the comment to: "using integer format specifier" (cherry picked from commit 63c591c0b0b57870a606e8edc59afe6264e7504d)
* bpo-31487: Improve f-strings documentation (GH-3604) (GH-3619)Miss Islington (bot)2017-09-161-0/+6
| | | | | Provide additional examples of using format specifiers in f-strings Added examples for using integer and date format specifiers. (cherry picked from commit f3618970690b08ed88e430ba8017859b4fafc3f9)
* fix some reference to Unicode 8 that should be to Unicode 9 (#2346)Benjamin Peterson2017-06-231-2/+2
|
* bpo-28739: Document that f-strings cannot be used as docstring (GH-592) (GH-600)Mariatta2017-03-101-0/+11
| | | (cherry picked from commit d4e89287b397c7382c12d3f3d9fd901fd8243b3c)
* 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
|
* note that byte strings can be raw, too #9114Benjamin Peterson2010-06-291-9/+9
|
* Fix nits in the lexical analysis section: \u requires four digits, backtick ↵Georg Brandl2010-05-101-4/+4
| | | | is not allowed in source in 3.x.
* Fix \xhh specs, #1889. (an oversight of r60193, r60210).Florent Xicluna2010-03-151-1/+1
|
* Merged revisions 72288 via svnmerge fromGeorg Brandl2009-05-041-1/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72288 | georg.brandl | 2009-05-04 22:42:08 +0200 (Mo, 04 Mai 2009) | 1 line #5925: fix highlighting of keyword table. ........
* Fix a few remaining problems found by rstlint.Georg Brandl2009-01-031-1/+1
|