Commit 83dd4e87 authored by Serhiy Storchaka's avatar Serhiy Storchaka Committed by GitHub

bpo-18085: Update refcounts.dat. (GH-11247)

Fixed some errors in refcounts.dat, remove functions removed in
Python 3, and add more entries for documented functions. This will
add several automatically generated notes about return values.
parent 87ec1104
This diff is collapsed.
......@@ -87,7 +87,7 @@ class Annotations(dict):
entry = self.get(name)
if not entry:
continue
elif entry.result_type not in ("PyObject*", "PyVarObject*"):
elif not entry.result_type.endswith("Object*"):
continue
if entry.result_refs is None:
rc = 'Return value: Always NULL.'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment