Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ getencoding
Function
getencoding
Lib/locale.py:628–629 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
626
# When _locale.getencoding() is missing, locale.getencoding() uses the
627
# Python filesystem encoding.
628
def
getencoding():
629
return
sys.getfilesystemencoding()
630
631
632
try
:
Callers
1
getpreferredencoding
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected