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 | 07610a86df842fb6c7fa3b4b760726105f27bb9c (patch) | |
| tree | c2860e95a989da30ae0b3b599eb65526904e4e69 /sphinx/util/docfields.py | |
| parent | 281b3303e840220aed06f11b9283cfbf6a1de42d (diff) | |
| download | sphinx-07610a86df842fb6c7fa3b4b760726105f27bb9c.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 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 |
