Changeset 147 for pyyaml/trunk/lib/yaml/__init__.py
- Timestamp:
- 04/22/06 16:40:43 (7 years ago)
- File:
-
- 1 edited
-
pyyaml/trunk/lib/yaml/__init__.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
pyyaml/trunk/lib/yaml/__init__.py
r146 r147 232 232 Dumper.add_representer(data_type, representer) 233 233 234 def add_multi_representer(data_type, multi_representer, Dumper=Dumper): 235 """ 236 Add a representer for the given type. 237 Multi-representer is a function accepting a Dumper instance 238 and an instance of the given data type or subtype 239 and producing the corresponding representation node. 240 """ 241 Dumper.add_multi_representer(data_type, multi_representer) 242 234 243 class YAMLObjectMetaclass(type): 235 244 """
Note: See TracChangeset
for help on using the changeset viewer.
