]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-111276: Clarify docs and comments about the role of LC_CTYPE (GH-111319...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 27 Oct 2023 15:15:15 +0000 (17:15 +0200)
committerGitHub <noreply@github.com>
Fri, 27 Oct 2023 15:15:15 +0000 (17:15 +0200)
commita9e0455bd318cac76016a9272c89b4bb0ff9448b
tree2df1b8cf6325b692d083d5b5de2f8c0ebdd1e9ee
parente7cdcccd2604ee26669173a6f690c0c2e2ef43bf
[3.11] gh-111276: Clarify docs and comments about the role of LC_CTYPE (GH-111319) (#111392)

Fix locale.LC_CTYPE documentation to no longer mention string.lower() et al. Those functions were removed in Python 3.0:
https://docs.python.org/2/library/string.htmlGH-deprecated-string-functions

Also, fix a comment in logging about locale-specific behavior of `str.lower()`.

(cherry picked from commit 6d42759c5e47ab62d60a72b4ff15d29864554579)

Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Doc/library/locale.rst
Lib/logging/handlers.py