Changes between Version 22 and Version 23 of PyYAMLDocumentation


Ignore:
Timestamp:
05/07/06 09:36:58 (8 years ago)
Author:
xi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PyYAMLDocumentation

    v22 v23  
    243243You may define your own application-specific tags. The easiest way to do it is 
    244244to define a subclass of '''`yaml.YAMLObject`''': 
    245 {{{{ 
     245{{{ 
    246246#!python 
    247247>>> yaml.load(""" 
     
    263263hp: [3, 6] 
    264264name: Cave lizard 
    265 }}}} 
     265}}} 
    266266 
    267267'''`yaml.YAMLObject`''' uses metaclass magic to register a constructor, which