Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __add__
Method
__add__
Lib/test/test_descr.py:3600–3601 ·
view source on GitHub ↗
(self, other)
Source
from the content-addressed store, hash-verified
3598
def
__repr__(self):
3599
return
"I(%r)"
% int(self)
3600
def
__add__(self, other):
3601
return
I(int(self) + int(other))
3602
__radd__ = __add__
3603
def
__pow__(self, other, mod=None):
3604
if
mod is None:
Callers
nothing calls this directly
Calls
1
I
Class · 0.70
Tested by
no test coverage detected