MCPcopy
hub / github.com/python/mypy / argument_elide_name

Function argument_elide_name

mypy/sharedparse.py:113–114  ·  view source on GitHub ↗
(name: str | None)

Source from the content-addressed store, hash-verified

111
112
113def argument_elide_name(name: str | None) -> bool:
114 return name is not None and name.startswith("__") and not name.endswith("__")

Callers 1

make_argumentMethod · 0.90

Calls 2

startswithMethod · 0.45
endswithMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…