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

Skip to content

Commit 1a7a2e0

Browse files
committed
Both PEP 3131 and the current implementation use NFKC normalization
for identifiers. Fixed the documentation to agree.
1 parent 8d855d8 commit 1a7a2e0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/reference/lexical_analysis.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,8 +309,8 @@ The Unicode category codes mentioned above stand for:
309309
* *Nd* - decimal numbers
310310
* *Pc* - connector punctuations
311311

312-
All identifiers are converted into the normal form NFC while parsing; comparison
313-
of identifiers is based on NFC.
312+
All identifiers are converted into the normal form NFKC while parsing; comparison
313+
of identifiers is based on NFKC.
314314

315315
A non-normative HTML file listing all valid identifier characters for Unicode
316316
4.1 can be found at

0 commit comments

Comments
 (0)