Commit 9e733bea authored by Mark Florisson's avatar Mark Florisson

Merge pull request #165 from yarikoptic/master

fix analysis of entry to be a weakref (typo introduced in d96dfd)
parents 73895001 af9cfeb5
......@@ -802,7 +802,7 @@ class Scope(object):
for entry in self.var_entries:
if entry.type.is_pyobject:
if include_weakref or entry.name != "weakref":
if include_weakref or entry.name != "__weakref__":
py_attrs.append(entry)
elif entry.type == PyrexTypes.c_py_buffer_type:
py_buffers.append(entry)
......
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