This commit is contained in:
Kovid Goyal 2016-06-06 16:13:49 +05:30
parent 7a53b7dd61
commit d5099a01f6

View File

@ -311,6 +311,8 @@ def get_windows_user_locale_name():
number_formats = None number_formats = None
def get_windows_number_formats(): def get_windows_number_formats():
# This can be changed to use localeconv() once we switch to Visual Studio
# 2015 as localeconv() in that version has unicode variants for all strings.
global number_formats global number_formats
if number_formats is None: if number_formats is None:
import ctypes import ctypes