MCPcopy
hub / github.com/cool-RR/PySnooper / event_name

Method event_name

tests/utils.py:291–292  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

289
290 @property
291 def event_name(self):
292 return re.match('^[A-Z][a-z_]*', type(self).__name__).group(0).lower()
293
294 def _check_source(self, source):
295 if self.source is not None:

Callers

nothing calls this directly

Calls 2

matchMethod · 0.80
groupMethod · 0.45

Tested by

no test coverage detected