mirror of
https://github.com/python/cpython.git
synced 2024-11-28 08:20:55 +01:00
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.
This commit is contained in:
parent
87ec1104b3
commit
83dd4e87a6
File diff suppressed because it is too large
Load Diff
@ -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.'
|
||||
|
Loading…
Reference in New Issue
Block a user