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

Function _make_stub

Lib/_pyrepl/readline.py:572–579  ·  view source on GitHub ↗
(_name: str, _ret: object)

Source from the content-addressed store, hash-verified

570
571
572def _make_stub(_name: str, _ret: object) -> None:
573 def stub(*args: object, **kwds: object) -> None:
574 import warnings
575
576 warnings.warn("readline.%s() not implemented" % _name, stacklevel=2)
577
578 stub.__name__ = _name
579 globals()[_name] = stub
580
581
582for _name, _ret in [

Callers 1

readline.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…