makerst: Remove stray spaces in method signatures
This commit is contained in:
@ -310,11 +310,11 @@ def make_method(
|
|||||||
|
|
||||||
if declare or pp == None:
|
if declare or pp == None:
|
||||||
|
|
||||||
s = ' **' + m.attrib['name'] + '** '
|
s = '**' + m.attrib['name'] + '** '
|
||||||
else:
|
else:
|
||||||
s = ':ref:`' + m.attrib['name'] + '<class_' + cname + "_" + m.attrib['name'] + '>` '
|
s = ':ref:`' + m.attrib['name'] + '<class_' + cname + "_" + m.attrib['name'] + '>` '
|
||||||
|
|
||||||
s += ' **(**'
|
s += '**(**'
|
||||||
argfound = False
|
argfound = False
|
||||||
for a in mdata['argidx']:
|
for a in mdata['argidx']:
|
||||||
arg = mdata[a]
|
arg = mdata[a]
|
||||||
@ -334,10 +334,6 @@ def make_method(
|
|||||||
if 'default' in arg.attrib:
|
if 'default' in arg.attrib:
|
||||||
s += '=' + arg.attrib['default']
|
s += '=' + arg.attrib['default']
|
||||||
|
|
||||||
argfound = True
|
|
||||||
|
|
||||||
if argfound:
|
|
||||||
s += ' '
|
|
||||||
s += ' **)**'
|
s += ' **)**'
|
||||||
|
|
||||||
if 'qualifiers' in m.attrib:
|
if 'qualifiers' in m.attrib:
|
||||||
|
|||||||
Reference in New Issue
Block a user