MCPcopy Create free account
hub / github.com/ActiveState/code / _getlang

Function _getlang

recipes/Python/56036_Pure_Python_strptime/recipe-56036.py:73–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

71# ----- END Code to replace Python 2.3 functionality -----
72
73def _getlang():
74 # Figure out what the current language is set to.
75 return locale.getlocale(locale.LC_TIME)
76
77class LocaleTime:
78 """Stores and handles locale-specific information related to time.

Callers 2

__init__Method · 0.85
strptimeFunction · 0.85

Calls 1

getlocaleMethod · 0.80

Tested by

no test coverage detected