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

Method __init__

Lib/pdb.py:2744–2763  ·  view source on GitHub ↗
(
        self,
        sockfile,
        signal_server=None,
        owns_sockfile=True,
        colorize=False,
        **kwargs,
    )

Source from the content-addressed store, hash-verified

2742
2743class _PdbServer(Pdb):
2744 def __init__(
2745 self,
2746 sockfile,
2747 signal_server=None,
2748 owns_sockfile=True,
2749 colorize=False,
2750 **kwargs,
2751 ):
2752 self._owns_sockfile = owns_sockfile
2753 self._interact_state = None
2754 self._sockfile = sockfile
2755 self._command_name_cache = []
2756 self._write_failed = False
2757 if signal_server:
2758 # Only started by the top level _PdbServer, not recursive ones.
2759 self._start_signal_listener(signal_server)
2760 # Override the `colorize` attribute set by the parent constructor,
2761 # because it checks the server's stdout, rather than the client's.
2762 super().__init__(colorize=False, **kwargs)
2763 self.colorize = colorize
2764
2765 @staticmethod
2766 def protocol_version():

Callers

nothing calls this directly

Calls 3

superClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected