Skip to content

Commit

Permalink
Merge pull request cython#165 from yarikoptic/master
Browse files Browse the repository at this point in the history
fix analysis of entry to be a weakref (typo introduced in d96dfd)
  • Loading branch information
markflorisson committed Dec 5, 2012
2 parents 7389500 + af9cfeb commit 9e733be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cython/Compiler/Symtab.py
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@ def get_refcounted_entries(self, include_weakref=False):

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)
Expand Down

0 comments on commit 9e733be

Please sign in to comment.