]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] 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:06 +0000 (17:15 +0200)
committerGitHub <noreply@github.com>
Fri, 27 Oct 2023 15:15:06 +0000 (17:15 +0200)
commit713210985bb9115060be7fcce6fa25b39abb2378
tree4568cc8277dc2013303966e7fd66d3e40f1d1008
parent883233dcc3afaf0b1acb31deb486c6cb38d49350
[3.12] gh-111276: Clarify docs and comments about the role of LC_CTYPE (GH-111319) (#111391)

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