source: pyyaml/trunk/tests3/data/serializer-is-closed-2.dumper-error @ 328

Revision 328, 124 bytes checked in by xi, 6 years ago (diff)

Added basic support for Python 3 (Thanks idadesub(at)users(dot)sourceforge(dot)net).

Line 
1dumper = yaml.Dumper(io.StringIO())
2dumper.open()
3dumper.close()
4dumper.serialize(yaml.ScalarNode(tag='!foo', value='bar'))
Note: See TracBrowser for help on using the repository browser.