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)