MCPcopy Create free account
hub / github.com/apache/qpid-proton / __init__

Method __init__

python/proton/_data.py:197–200  ·  view source on GitHub ↗
(self, u32: int)

Source from the content-addressed store, hash-verified

195 """
196
197 def __init__(self, u32: int) -> None:
198 if u32 < 0:
199 raise AssertionError("initializing uint with negative value")
200 super(uint, self).__new__(uint, u32)
201
202 def __repr__(self) -> str:
203 return "uint(%s)" % long.__repr__(self)

Callers 4

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls 1

__new__Method · 0.45

Tested by

no test coverage detected