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