summaryrefslogtreecommitdiff
path: root/sphinx/util/docfields.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-09-16 09:21:31 +0200
committerGeorg Brandl <georg@python.org>2013-09-16 09:21:31 +0200
commit07610a86df842fb6c7fa3b4b760726105f27bb9c (patch)
treec2860e95a989da30ae0b3b599eb65526904e4e69 /sphinx/util/docfields.py
parent281b3303e840220aed06f11b9283cfbf6a1de42d (diff)
downloadsphinx-07610a86df842fb6c7fa3b4b760726105f27bb9c.tar.gz
Small code style fix.
Diffstat (limited to 'sphinx/util/docfields.py')
-rw-r--r--sphinx/util/docfields.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/docfields.py b/sphinx/util/docfields.py
index f7b19c47..6fd8ba95 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