Skip to content

Commit 818a487

Browse files
committed
bah
1 parent 51623c8 commit 818a487

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

v3/pg_encoder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,9 +268,9 @@ def encode_class_or_instance(self, dat, new_obj):
268268
new_obj.extend(['CLASS', get_name(dat), superclass_names])
269269

270270
# traverse inside of its __dict__ to grab attributes
271-
# (filter out useless-seeming ones):
271+
# (filter out useless-seeming ones, based on anecdotal observation):
272272
hidden = ('__doc__', '__module__', '__return__', '__dict__',
273-
'__locals__', '__weakref__')
273+
'__locals__', '__weakref__', '__qualname__')
274274
if hasattr(dat, '__dict__'):
275275
user_attrs = sorted([e for e in dat.__dict__ if e not in hidden])
276276
else:

0 commit comments

Comments
 (0)