diff options
Diffstat (limited to 'sphinx/util/docfields.py')
| -rw-r--r-- | sphinx/util/docfields.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/docfields.py b/sphinx/util/docfields.py index f7b19c47d..6fd8ba956 100644 --- a/sphinx/util/docfields.py +++ b/sphinx/util/docfields.py @@ -221,7 +221,7 @@ class DocFieldTransformer(object): # match the spec; capitalize field name and be done with it new_fieldname = fieldtype[0:1].upper() + fieldtype[1:] if fieldarg: - new_fieldname = new_fieldname + ' ' + fieldarg + new_fieldname += ' ' + fieldarg fieldname[0] = nodes.Text(new_fieldname) entries.append(field) continue |
