Message292049
https://docs.python.org/3/reference/lexical_analysis.html#identifiers has a grammar.
identifier ::= xid_start xid_continue*
id_start ::= <all characters in general categories Lu, Ll, Lt, Lm, Lo, Nl, the underscore, and characters with the Other_ID_Start property>
id_continue ::= <all characters in id_start, plus characters in the categories Mn, Mc, Nd, Pc and others with the Other_ID_Continue property>
xid_start ::= <all characters in id_start whose NFKC normalization is in "id_start xid_continue*">
xid_continue ::= <all characters in id_continue whose NFKC normalization is in "id_continue*">
I struggle to make sense of it unless I remove `xid_continue*' from `xid_start's definition.
I suspect it ended up there due to cut and paste. |
|
Date |
User |
Action |
Args |
2017-04-21 14:27:21 | ralph.corderoy | set | recipients:
+ ralph.corderoy, docs@python |
2017-04-21 14:27:21 | ralph.corderoy | set | messageid: <1492784841.26.0.847903278881.issue30128@psf.upfronthosting.co.za> |
2017-04-21 14:27:21 | ralph.corderoy | link | issue30128 messages |
2017-04-21 14:27:21 | ralph.corderoy | create | |
|