summaryrefslogtreecommitdiff
path: root/sphinx/ext/refcounting.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-01-10 21:23:39 +0100
committerGeorg Brandl <georg@python.org>2009-01-10 21:23:39 +0100
commitb068e9180365a5d74d4fb02b003d7a05f99ffac3 (patch)
treec092aa25daf519398c0d6cc84f85a568cf26440e /sphinx/ext/refcounting.py
parentd0e0acaaa1278627d70f7bbb7d823c79d3546b58 (diff)
downloadsphinx-git-b068e9180365a5d74d4fb02b003d7a05f99ffac3.tar.gz
Reformat to EOL80.
Diffstat (limited to 'sphinx/ext/refcounting.py')
-rw-r--r--sphinx/ext/refcounting.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/sphinx/ext/refcounting.py b/sphinx/ext/refcounting.py
index c31d66270..cad9d7f1a 100644
--- a/sphinx/ext/refcounting.py
+++ b/sphinx/ext/refcounting.py
@@ -55,7 +55,8 @@ class Refcounts(dict):
refcount = None
else:
refcount = int(refcount)
- # Update the entry with the new parameter or the result information.
+ # Update the entry with the new parameter or the result
+ # information.
if arg:
entry.args.append((arg, type, refcount))
else:
@@ -81,7 +82,8 @@ class Refcounts(dict):
if entry.result_refs is None:
rc += "Always NULL."
else:
- rc += (entry.result_refs and "New" or "Borrowed") + " reference."
+ rc += (entry.result_refs and "New" or "Borrowed") + \
+ " reference."
node.insert(0, refcount(rc, rc))