From 0dbebc02edfb5489248ab42f14f90cf9435e5796 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Thu, 30 Dec 2010 08:36:37 +0000 Subject: Issue #10542: Document that identifiers use XID_Start XID_Continue*. --- Doc/reference/lexical_analysis.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Doc/reference/lexical_analysis.rst b/Doc/reference/lexical_analysis.rst index 9fdb350..4b49738 100644 --- a/Doc/reference/lexical_analysis.rst +++ b/Doc/reference/lexical_analysis.rst @@ -292,9 +292,11 @@ Unicode Character Database as included in the :mod:`unicodedata` module. Identifiers are unlimited in length. Case is significant. .. productionlist:: - identifier: `id_start` `id_continue`* + identifier: `xid_start` `xid_continue`* id_start: id_continue: + xid_start: + xid_continue: The Unicode category codes mentioned above stand for: @@ -308,6 +310,8 @@ The Unicode category codes mentioned above stand for: * *Mc* - spacing combining marks * *Nd* - decimal numbers * *Pc* - connector punctuations +* *Other_ID_Start* - explicit list of characters in `PropList.txt `_ to support backwards compatibility +* *Other_ID_Continue* - likewise All identifiers are converted into the normal form NFKC while parsing; comparison of identifiers is based on NFKC. -- cgit v0.12