MCPcopy Create free account
hub / github.com/ipython/traitlets / __init__

Method __init__

tests/test_traitlets.py:592–594  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

590 b = 0
591
592 def __init__(self, **kwargs):
593 super().__init__(**kwargs)
594 self.on_trait_change(self.listener1, ["a"])
595
596 def listener1(self, name, old, new):
597 self.b += 1

Callers

nothing calls this directly

Calls 2

on_trait_changeMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected