MCPcopy 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
67if __name__ == "__main__":
68 DaysOfWeek = CEnum("Sun=1,Mon,Tue,Wed,Thu,Fri,Sat")

Callers 15

exhaustMethod · 0.45
primegenFunction · 0.45
totalFunction · 0.45
searchMethod · 0.45
getdegreesFunction · 0.45
actionMethod · 0.45
_param_sizeMethod · 0.45
create_tree_structureFunction · 0.45
recipe-576857.pyFile · 0.45
primesFunction · 0.45
save_moduleFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected