]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-111276: Clarify docs and comments about the role of LC_CTYPE (#111319)
authorŁukasz Langa <lukasz@langa.pl>
Fri, 27 Oct 2023 09:43:01 +0000 (11:43 +0200)
committerGitHub <noreply@github.com>
Fri, 27 Oct 2023 09:43:01 +0000 (11:43 +0200)
commit6d42759c5e47ab62d60a72b4ff15d29864554579
tree49858d07c6a68ed2dca864fa608b48cc29f34f9d
parent74f0772892c85b6e7bdfa0f44a5ff89002b0734d
gh-111276: Clarify docs and comments about the role of LC_CTYPE (#111319)

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.html#deprecated-string-functions

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

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