Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix preprocessor error.
  • Loading branch information
serhiy-storchaka committed Oct 8, 2024
commit 157c23efffaad089ea5b6384449ba4f9c142f472
3 changes: 2 additions & 1 deletion Modules/_localemodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -688,8 +688,9 @@ _locale_nl_langinfo_impl(PyObject *module, int item)
}
}
}
else
#endif
else {
{
pyresult = PyUnicode_DecodeLocale(result, NULL);
}
restore_locale(oldloc);
Expand Down