MCPcopy Index your code
hub / github.com/python/cpython / convert_mbcs

Function convert_mbcs

Tools/c-analyzer/distutils/msvccompiler.py:89–96  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

87 return d
88
89def convert_mbcs(s):
90 dec = getattr(s, "decode", None)
91 if dec is not None:
92 try:
93 s = dec("mbcs")
94 except UnicodeError:
95 pass
96 return s
97
98class MacroExpander:
99 def __init__(self, version):

Callers 1

read_valuesFunction · 0.85

Calls 1

decFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…