Quotes for default string values in docs

This commit is contained in:
Fariz Rahman 2015-12-15 23:02:20 +05:30
parent 792b755594
commit 54d332bf63

@ -80,6 +80,10 @@ def get_method_signature(method):
for a in args:
st += str(a) + ', '
for a, v in kwargs:
if type(v) == str:
v = '\'' + v + '\''
elif type(v) == unicode:
v = 'u\'' + v + '\''
st += str(a) + '=' + str(v) + ', '
if kwargs or args:
return st[:-2] + ')'