Re: PyYAML - Help with redefining to_yaml and multiple documents

Kirill Simonov <[email protected]>
Newsgroups gmane.text.yaml.general
Message-ID <[email protected]>
Sean wrote:
> Thanks for your reply, Kirill.  I guess what I am really looking for is 
> a more detailed example of subclassing YAMLObject than what is available 
> in the docs, to get a better idea of what I can do there.
> 

Well, YAMLObject could be useful if you want to represent your object as 
a node in a YAML document.  For instance, if the object is included to a 
dictionary or other complex structure and you want to convert the whole 
structure to a single YAML document, you can use YAMLObject.  However 
your use case seems to be different.

Thanks,
Kirill


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.