mirror of
https://github.com/yaml/pyyaml.git
synced 2026-02-07 02:09:58 +00:00
Fix handling of __slots__ (#161)
This commit is contained in:
parent
eb459f842f
commit
5a0cfab86f
6 changed files with 30 additions and 4 deletions
|
|
@ -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} }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue