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

Method add_ifndef_symbol

Tools/clinic/libclinic/codegen.py:276–280  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

274 self._includes: dict[str, Include] = {}
275
276 def add_ifndef_symbol(self, name: str) -> bool:
277 if name in self._ifndef_symbols:
278 return False
279 self._ifndef_symbols.add(name)
280 return True
281
282 def add_include(self, name: str, reason: str,
283 *, condition: str | None = None) -> None:

Callers 1

process_methoddefMethod · 0.80

Calls 1

addMethod · 0.45

Tested by

no test coverage detected