mirror of
https://github.com/python/cpython.git
synced 2024-11-23 18:04:37 +08:00
merge 3.4
This commit is contained in:
commit
af7c5b0bb5
@ -81,7 +81,10 @@ class Annotations(dict):
|
||||
continue
|
||||
if not par[0].has_key('names') or not par[0]['names']:
|
||||
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:
|
||||
continue
|
||||
elif entry.result_type not in ("PyObject*", "PyVarObject*"):
|
||||
|
Loading…
Reference in New Issue
Block a user