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

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

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

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