Changes between Version 22 and Version 23 of PyYAMLDocumentation
- Timestamp:
- 05/07/06 09:36:58 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PyYAMLDocumentation
v22 v23 243 243 You may define your own application-specific tags. The easiest way to do it is 244 244 to define a subclass of '''`yaml.YAMLObject`''': 245 {{{ {245 {{{ 246 246 #!python 247 247 >>> yaml.load(""" … … 263 263 hp: [3, 6] 264 264 name: Cave lizard 265 }}} }265 }}} 266 266 267 267 '''`yaml.YAMLObject`''' uses metaclass magic to register a constructor, which
