Fix handling of __slots__ (#161)

This commit is contained in:
Filip Salomonsson 2019-12-07 22:34:23 +01:00 committed by Tina Müller (tinita)
parent eb459f842f
commit 5a0cfab86f
6 changed files with 30 additions and 4 deletions

View file

@ -16,6 +16,8 @@
- !!python/object/apply:test_constructor.Reduce [1, two, [3,3,3]]
- !!python/object/apply:test_constructor.ReduceWithState { args: [1, two], state: [3,3,3] }
- !!python/object/new:test_constructor.Slots { state: !!python/tuple [null, { foo: 1, bar: 'two', baz: [3,3,3] } ] }
- !!python/object/new:test_constructor.MyInt [3]
- !!python/object/new:test_constructor.MyList { listitems: [~, ~, ~] }
- !!python/object/new:test_constructor.MyDict { dictitems: {0, 1, 2} }