MCPcopy Create free account
hub / github.com/apache/thrift / add

Method add

tutorial/py.twisted/PythonServer.py:48–50  ·  view source on GitHub ↗
(self, n1, n2)

Source from the content-addressed store, hash-verified

46 print('ping()')
47
48 def add(self, n1, n2):
49 print('add(%d,%d)' % (n1, n2))
50 return n1 + n2
51
52 def calculate(self, logid, work):
53 print('calculate(%d, %r)' % (logid, work))

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected