Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ count
Method
count
recipes/Python/578438_Cstyle_enumerations/recipe-578438.py:64–65 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
62
return
list(self.__enum_order)
63
64
def
count(self):
65
return
len(self.__enum_order)
66
67
if
__name__ ==
"__main__"
:
68
DaysOfWeek = CEnum(
"Sun=1,Mon,Tue,Wed,Thu,Fri,Sat"
)
Callers
15
exhaust
Method · 0.45
primegen
Function · 0.45
total
Function · 0.45
search
Method · 0.45
getdegrees
Function · 0.45
action
Method · 0.45
nonintegersRationalZero
Method · 0.45
_param_size
Method · 0.45
create_tree_structure
Function · 0.45
recipe-576857.py
File · 0.45
primes
Function · 0.45
save_module
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected