Skip to content

Commit

Permalink
Edited readme again
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael A committed May 3, 2011
1 parent 5b441e2 commit 3782021
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Expand Up @@ -22,8 +22,8 @@ A basic example looks like::


class FooAPI(JSONRPCService):
@jrpc('get_sum(foo=<num>, bar=<num>?) -> <num>')
def get_sum(self, foo, bar):
@jrpc('get_sum(foo=<num>, bar=<num>?) -> <num>') # bar arg is optional
def get_sum(self, foo, bar=2):
return foo + bar

def private_foo(self):
Expand Down

0 comments on commit 3782021

Please sign in to comment.