Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ posix_locale
Method
posix_locale
Lib/test/test_utf8_mode.py:25–27 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
23
}
24
25
def
posix_locale(self):
26
loc = locale.setlocale(locale.LC_CTYPE, None)
27
return
(loc in POSIX_LOCALES)
28
29
def
get_output(self, *args, failure=False, **kw):
30
kw = dict(self.DEFAULT_ENV, **kw)
Callers
1
test_env_var
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected