mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Small code style fix.
This commit is contained in:
parent
1a99c74e4b
commit
cbaad505a7
@ -221,7 +221,7 @@ class DocFieldTransformer(object):
|
|||||||
# match the spec; capitalize field name and be done with it
|
# match the spec; capitalize field name and be done with it
|
||||||
new_fieldname = fieldtype[0:1].upper() + fieldtype[1:]
|
new_fieldname = fieldtype[0:1].upper() + fieldtype[1:]
|
||||||
if fieldarg:
|
if fieldarg:
|
||||||
new_fieldname = new_fieldname + ' ' + fieldarg
|
new_fieldname += ' ' + fieldarg
|
||||||
fieldname[0] = nodes.Text(new_fieldname)
|
fieldname[0] = nodes.Text(new_fieldname)
|
||||||
entries.append(field)
|
entries.append(field)
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user