MCPcopy Index your code
hub / github.com/ipython/ipython / Sentinel

Class Sentinel

IPython/utils/sentinel.py:7–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5
6
7class Sentinel:
8 def __init__(self, name: str, module: str, docstring: str | None = None) -> None:
9 self.name = name
10 self.module = module
11 if docstring:
12 self.__doc__ = docstring
13
14 def __repr__(self) -> str:
15 return str(self.module) + "." + self.name

Callers 1

formatters.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…