mirror of
https://github.com/yaml/pyyaml.git
synced 2026-02-06 18:00:08 +00:00
Loader.add_multi_constructor(None, myconstructor)
Also add test for add_multi_constructor('!', ...) etc.
See issue #317
4 lines
68 B
Text
4 lines
68 B
Text
[
|
|
{'Tag1': ['a', 1, 'b', 2]},
|
|
{'Tag2': ['a', 1, 'b', 2]},
|
|
]
|