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

Method convert_mbcs

Tools/c-analyzer/distutils/msvc9compiler.py:109–116  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

107 read_values = classmethod(read_values)
108
109 def convert_mbcs(s):
110 dec = getattr(s, "decode", None)
111 if dec is not None:
112 try:
113 s = dec("mbcs")
114 except UnicodeError:
115 pass
116 return s
117 convert_mbcs = staticmethod(convert_mbcs)
118
119class MacroExpander:

Callers 2

read_valuesMethod · 0.80
query_vcvarsallFunction · 0.80

Calls 1

decFunction · 0.50

Tested by

no test coverage detected