bpo-42042: Use ids attribute instead of names attribute (GH-22739)
This commit is contained in:
parent
b3b98082c5
commit
09490a109f
|
@ -79,9 +79,9 @@ class Annotations(dict):
|
|||
classes=['stableabi']))
|
||||
if par['objtype'] != 'function':
|
||||
continue
|
||||
if not par[0].has_key('names') or not par[0]['names']:
|
||||
if not par[0].has_key('ids') or not par[0]['ids']:
|
||||
continue
|
||||
name = par[0]['names'][0]
|
||||
name = par[0]['ids'][0]
|
||||
if name.startswith("c."):
|
||||
name = name[2:]
|
||||
entry = self.get(name)
|
||||
|
|
Loading…
Reference in New Issue