diff options
Diffstat (limited to 'sphinx/ext/refcounting.py')
-rw-r--r-- | sphinx/ext/refcounting.py | 6 |
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)) |