Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 051d1dd

Browse files
author
Mark Summerfield
committed
The Identifiers and keywords syntax diagram did not appear correctly in the
HTML output. I've now fixed this as best I can (but could do with improvement). Note that there are two terms used, "Other_ID_Start" and "Other_ID_Continue" that are not explained; I've added an extra see reference to PEP 3131 though.
1 parent bfd4985 commit 051d1dd

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Doc/reference/lexical_analysis.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -286,10 +286,8 @@ Identifiers are unlimited in length. Case is significant.
286286

287287
.. productionlist::
288288
identifier: `id_start` `id_continue`*
289-
id_start: <all characters in general categories Lu, Ll, Lt, Lm, Lo, Nl,
290-
the underscore, and characters with the Other_ID_Start property>
291-
id_continue: <all characters in `id_start`, plus characters in the categories
292-
Mn, Mc, Nd, Pc and others with the Other_ID_Continue property>
289+
id_start: <all characters in general categories Lu, Ll, Lt, Lm, Lo, Nl, the underscore, and characters with the Other_ID_Start property>
290+
id_continue: <all characters in `id_start`, plus characters in the categories Mn, Mc, Nd, Pc and others with the Other_ID_Continue property>
293291

294292
The Unicode category codes mentioned above stand for:
295293

@@ -311,6 +309,8 @@ A non-normative HTML file listing all valid identifier characters for Unicode
311309
4.1 can be found at
312310
http://www.dcl.hpi.uni-potsdam.de/home/loewis/table-3131.html.
313311

312+
See :pep:`3131` for further details.
313+
314314
.. _keywords:
315315

316316
Keywords

0 commit comments

Comments
 (0)