Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PierreGode/Ragnar
/ _supports_unicode
Function
_supports_unicode
pager_lib/tqdm/utils.py:266–270 ·
view source on GitHub ↗
(fp)
Source
from the content-addressed store, hash-verified
264
265
266
def
_supports_unicode(fp):
267
try
:
268
return
_is_utf(fp.encoding)
269
except
AttributeError:
270
return
False
271
272
273
def
_is_ascii(s):
Callers
2
__init__
Method · 0.85
_is_ascii
Function · 0.85
Calls
1
_is_utf
Function · 0.85
Tested by
no test coverage detected