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
commitcbaad505a75e03873653d0573d01e34544d187aa (patch)
treec2860e95a989da30ae0b3b599eb65526904e4e69 /sphinx/util/docfields.py
parent1a99c74e4b8c2b91081562db4bf7292d0b5eca9b (diff)
downloadsphinx-git-cbaad505a75e03873653d0573d01e34544d187aa.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 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