MCPcopy Create free account
hub / github.com/python/cpython / add_include

Method add_include

Tools/clinic/libclinic/converter.py:558–561  ·  view source on GitHub ↗
(self, name: str, reason: str,
                    *, condition: str | None = None)

Source from the content-addressed store, hash-verified

556 return self.name
557
558 def add_include(self, name: str, reason: str,
559 *, condition: str | None = None) -> None:
560 include = Include(name, reason, condition)
561 self._includes.append(include)
562
563 def get_includes(self) -> list[Include]:
564 return self._includes

Callers 1

bad_argumentMethod · 0.95

Calls 2

IncludeClass · 0.90
appendMethod · 0.45

Tested by

no test coverage detected