MCPcopy Index your code
hub / github.com/kivy/python-for-android / to_unicode

Function to_unicode

pythonforandroid/pythonpackage.py:325–329  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

323 "w", encoding="utf-8"
324 ) as f:
325 def to_unicode(s): # Needed for Python 2.
326 try:
327 return s.decode("utf-8")
328 except AttributeError:
329 return s
330 f.write(to_unicode(transform_dep_for_pip(dependency)))
331 try:
332 subprocess.check_output(

Callers 1

get_package_as_folderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected