(self, color_table=InspectColors,
code_color_table=PyColorize.ANSICodeColors,
scheme=None,
str_detail_level=0,
parent=None, config=None)
| 354 | class Inspector(Colorable): |
| 355 | |
| 356 | def __init__(self, color_table=InspectColors, |
| 357 | code_color_table=PyColorize.ANSICodeColors, |
| 358 | scheme=None, |
| 359 | str_detail_level=0, |
| 360 | parent=None, config=None): |
| 361 | super(Inspector, self).__init__(parent=parent, config=config) |
| 362 | self.color_table = color_table |
| 363 | self.parser = PyColorize.Parser(out='str', parent=self, style=scheme) |
| 364 | self.format = self.parser.format |
| 365 | self.str_detail_level = str_detail_level |
| 366 | self.set_active_scheme(scheme) |
| 367 | |
| 368 | def _getdef(self,obj,oname='') -> Union[str,None]: |
| 369 | """Return the call signature for any callable object. |
nothing calls this directly
no test coverage detected