diff options
| author | Georg Brandl <georg@python.org> | 2013-09-16 09:21:31 +0200 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2013-09-16 09:21:31 +0200 |
| commit | cbaad505a75e03873653d0573d01e34544d187aa (patch) | |
| tree | c2860e95a989da30ae0b3b599eb65526904e4e69 /sphinx/util/docfields.py | |
| parent | 1a99c74e4b8c2b91081562db4bf7292d0b5eca9b (diff) | |
| download | sphinx-git-cbaad505a75e03873653d0573d01e34544d187aa.tar.gz | |
Small code style fix.
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 |
