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

Method __add__

IPython/core/macro.py:48–53  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

46 return {'value': self.value}
47
48 def __add__(self, other):
49 if isinstance(other, Macro):
50 return Macro(self.value + other.value)
51 elif isinstance(other, str):
52 return Macro(self.value + other)
53 raise TypeError

Callers

nothing calls this directly

Calls 1

MacroClass · 0.85

Tested by

no test coverage detected