Kaydet (Commit) af7c5b0b authored tarafından Benjamin Peterson's avatar Benjamin Peterson

merge 3.4

...@@ -81,7 +81,10 @@ class Annotations(dict): ...@@ -81,7 +81,10 @@ class Annotations(dict):
continue continue
if not par[0].has_key('names') or not par[0]['names']: if not par[0].has_key('names') or not par[0]['names']:
continue continue
entry = self.get(par[0]['names'][0]) name = par[0]['names'][0]
if name.startswith("c."):
name = name[2:]
entry = self.get(name)
if not entry: if not entry:
continue continue
elif entry.result_type not in ("PyObject*", "PyVarObject*"): elif entry.result_type not in ("PyObject*", "PyVarObject*"):
......
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