8000 fixup! [3.11] gh-111187: Postpone removal version for locale.getdefau… · hugovk/cpython@3c1b48b · GitHub
[go: up one dir, main page]

Skip to content

Commit 3c1b48b

Browse files
committed
fixup! [3.11] pythongh-111187: Postpone removal version for locale.getdefaultlocale() to 3.15 (pythonGH-111188). (cherry picked from commit 81ed80d)
1 parent 45ac3a8 commit 3c1b48b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Lib/locale.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,6 @@ def getdefaultlocale(envvars=('LC_ALL', 'LC_CTYPE', 'LANG', 'LANGUAGE')):
561561
"{name!r} is deprecated and slated for removal in Python {remove}. "
562562
"Use setlocale(), getencoding() and getlocale() instead.",
563563
remove=(3, 15))
564-
return _getdefaultlocale(envvars)
565564

566565

567566
def _getdefaultlocale(envvars=('LC_ALL', 'LC_CTYPE', 'LANG', 'LANGUAGE')):

0 commit comments

Comments
 (0)
0