def resetlocale(category=LC_ALL):
 _setlocale(category, _build_localename(getdefaultlocale()))

def resetlocale ( category = LC_ALL ) : _setlocale ( category , _build_localename ( getdefaultlocale ( ) ) )
sets the locale for category to the default setting .