source: pyyaml/trunk/tests/data/construct-python-object.code @ 147

Revision 147, 417 bytes checked in by xi, 8 years ago (diff)

Add support for pickling/unpickling python objects.

Line 
1[
2AnObject(1, 'two', [3,3,3]),
3AnInstance(1, 'two', [3,3,3]),
4
5AnObject(1, 'two', [3,3,3]),
6AnInstance(1, 'two', [3,3,3]),
7
8AState(1, 'two', [3,3,3]),
9ACustomState(1, 'two', [3,3,3]),
10
11InitArgs(1, 'two', [3,3,3]),
12InitArgsWithState(1, 'two', [3,3,3]),
13
14NewArgs(1, 'two', [3,3,3]),
15NewArgsWithState(1, 'two', [3,3,3]),
16
17Reduce(1, 'two', [3,3,3]),
18ReduceWithState(1, 'two', [3,3,3]),
19
20MyInt(3),
21MyList(3),
22MyDict(3),
23]
Note: See TracBrowser for help on using the repository browser.