MCPcopy Create free account
hub / github.com/enthought/comtypes / getvalue

Method getvalue

comtypes/tools/codegenerator/namespaces.py:152–159  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

150 return names
151
152 def getvalue(self) -> str:
153 lines = []
154 for (alias, definition), comment in self.data.items():
155 code = f"{alias} = {definition}"
156 if comment:
157 code = code + f" # {comment}"
158 lines.append(code)
159 return "\n".join(lines)
160
161
162class EnumerationNamespaces:

Callers

nothing calls this directly

Calls 1

itemsMethod · 0.80

Tested by

no test coverage detected