Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ __len__
Method
__len__
Lib/enum.py:1555–1556 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1553
yield
from
self._iter_member_(self._value_)
1554
1555
def
__len__(self):
1556
return
self._value_.bit_count()
1557
1558
def
__repr__(self):
1559
cls_name = self.__class__.__name__
Callers
1
_dec_str_to_int_inner
Function · 0.45
Calls
1
bit_count
Method · 0.80
Tested by
no test coverage detected