-
-
Notifications
You must be signed in to change notification settings - Fork 34k
[3.13] gh-74955: Document that __all__ must contain strings in normalization form NFKC (GH-144504) #144520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 3.13
Are you sure you want to change the base?
Conversation
…zation form NFKC (pythonGH-144504) (cherry picked from commit c81e1843d4bc0a51cf4f77d19b5ac4e49f714a0d) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
| of strings which are names defined or imported by that module. The names | ||
| of strings which are names defined or imported by that module. | ||
| Names containing non-ASCII characters must be in the `normalization form`_ | ||
| NFKC; see :ref:`lexical-names-nonascii` for details. The names |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| NFKC; see :ref:`lexical-names-nonascii` for details. The names | |
| NFKC. The names |
It does not exist in 3.13
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| of strings which are names defined or imported by that module. The names | ||
| of strings which are names defined or imported by that module. | ||
| Names containing non-ASCII characters must be in the `normalization form`_ | ||
| NFKC; see :ref:`lexical-names-nonascii` for details. The names |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| namespace for a variable named ``__all__``; if defined, it must be a sequence | ||
| of strings which are names defined or imported by that module. The names | ||
| of strings which are names defined or imported by that module. | ||
| Names containing non-ASCII characters must be in the `normalization form`_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: repetition:
s/must be in the normalization form NFKC / must be in the Normalization Form KC/
or even
s/must be in the normalization form NFKC / must be in NFKC/
First reads well to me
(cherry picked from commit c81e184)
Co-authored-by: Serhiy Storchaka storchaka@gmail.com
📚 Documentation preview 📚: https://cpython-previews--144520.org.readthedocs.build/