Created
June 16, 2015 00:00
-
-
Save Flameeyes/109f9cfb803c4c562bac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Python 2.7.9 (default, Dec 25 2014, 11:17:50) | |
[GCC 4.8.3] on linux2 | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> import yaml | |
>>> class Foo(object): | |
... pass | |
... | |
>>> yaml.dump(Foo()) | |
'!!python/object:__main__.Foo {}\n' | |
>>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment