Skip to content

Commit 32c7bef

Browse files
committed
docs: fix outdated documentation
1 parent 4cad823 commit 32c7bef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/locale.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ def getdefaultlocale(envvars=('LC_ALL', 'LC_CTYPE', 'LANG', 'LANGUAGE')):
557557
1766. code and encoding can be None in case the values cannot
558558
be determined.
559559
560-
Returns `None` on Windows if failed to get locale info.
560+
On Windows, raise a `WindowsError` if retrieving the locale fails.
561561
562562
"""
563563

0 commit comments

Comments
 (0)