Skip to content

Commit 1f3493f

Browse files
Update Modules/_localemodule.c
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
1 parent 79d373d commit 1f3493f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/_localemodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,9 +692,9 @@ _locale_nl_langinfo_impl(PyObject *module, int item)
692692
result = result != NULL ? result : "";
693693
char *oldloc = NULL;
694694
if (langinfo_constants[i].category != LC_CTYPE
695-
// gh-133740: Always change the locale for ALT_DIGITS and ERA
696695
&& (
697696
#ifdef __GLIBC__
697+
// gh-133740: Always change the locale for ALT_DIGITS and ERA
698698
# ifdef ALT_DIGITS
699699
item == ALT_DIGITS ||
700700
# endif

0 commit comments

Comments
 (0)