Skip to content

Commit 5e7cee6

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 3c1b48b commit 5e7cee6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Lib/locale.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -562,8 +562,6 @@ def getdefaultlocale(envvars=('LC_ALL', 'LC_CTYPE', 'LANG', 'LANGUAGE')):
562562
"Use setlocale(), getencoding() and getlocale() instead.",
563563
remove=(3, 15))
564564

565-
566-
def _getdefaultlocale(envvars=('LC_ALL', 'LC_CTYPE', 'LANG', 'LANGUAGE')):
567565
try:
568566
# check if it's supported by the _locale module
569567
import _locale

0 commit comments

Comments
 (0)