We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9916d83 commit 0c95f4bCopy full SHA for 0c95f4b
ch17/msgpack_server.py
@@ -2,7 +2,7 @@
2
3
class Services():
4
def double(self, num):
5
- return num * 2
+ return num * 2
6
7
server = Server(Services())
8
server.listen(Address("localhost", 6789))
ch17/zerorpc_server.py
class RPC():
- return 2 * num
+ return 2 * num
server = zerorpc.Server(RPC())
server.bind("tcp://0.0.0.0:4242")
0 commit comments