MCPcopy Create free account
hub / github.com/ActiveState/code / add

Method add

recipes/Python/496873_ZChat/recipe-496873.py:13–15  ·  view source on GitHub ↗
(self, ID, message)

Source from the content-addressed store, hash-verified

11 self.__ticket = 1
12
13 def add(self, ID, message):
14 self.__message[self.__ticket] = time.clock(), ID, message
15 self.__ticket += 1
16
17 def query(self, ID, ticket):
18 if not self.__message:

Callers 11

toposortFunction · 0.45
equivalence_partitionFunction · 0.45
is_straightFunction · 0.45
addmemberMethod · 0.45
__init__Method · 0.45
_resolveMethod · 0.45
__set__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
uniqueFunction · 0.45
uniquePickFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected