pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/huangwei1024/msgpack-rpc-python/commit/3b50a53c973500b415fbac2d17a438efe1040632

="all" rel="stylesheet" href="https://github.githubassets.com/assets/global-9c8f61f9f58ad7b2.css" /> Fix sample in README · huangwei1024/msgpack-rpc-python@3b50a53 · GitHub
Skip to content

Commit 3b50a53

Browse files
committed
Fix sample in README
1 parent bcc7196 commit 3b50a53

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ MessagePack RPC implementation based on Tornado.
99
```python
1010
import msgpackrpc
1111

12-
class SumServer:
13-
def sum(self, x, y):
14-
return x + y
12+
class SumServer(object):
13+
def sum(self, x, y):
14+
return x + y
1515

1616
server = msgpackrpc.Server(SumServer())
1717
server.listen(msgpackrpc.Address("localhost", 18800))

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy