8000 gh-67206: document that `string.printable` is not printable in the POSIX sense by picnixz · Pull Request #128820 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-67206: document that string.printable is not printable in the POSIX sense #128820

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

Merged
merged 6 commits into from
Jan 14, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove mention to (confusing) RFC
  • Loading branch information
picnixz authored Jan 14, 2025
commit be5b9fc9bd60f9265517c36a4d3956fac82eeb41
5 changes: 2 additions & 3 deletions Doc/library/string.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,8 @@ The constants defined in this module are:
.. note::

By design, :meth:`string.printable.isprintable() <str.isprintable>`
returns :const:`False`. In particular, ``string.printable`` is
neither POSIX printable (see :manpage:`LC_CTYPE <locale(5)>`)
nor printable in the sense of :rfc:`5822`.
returns :const:`False`. In particular, ``string.printable`` is not
printable in the POSIX sense (see :manpage:`LC_CTYPE <locale(5)>`).


.. data:: whitespace
Expand Down
Loading
0