Index: pyyaml/trunk/lib/yaml/__init__.py
===================================================================
--- pyyaml/trunk/lib/yaml/__init__.py	(revision 146)
+++ pyyaml/trunk/lib/yaml/__init__.py	(revision 147)
@@ -232,4 +232,13 @@
     Dumper.add_representer(data_type, representer)
 
+def add_multi_representer(data_type, multi_representer, Dumper=Dumper):
+    """
+    Add a representer for the given type.
+    Multi-representer is a function accepting a Dumper instance
+    and an instance of the given data type or subtype
+    and producing the corresponding representation node.
+    """
+    Dumper.add_multi_representer(data_type, multi_representer)
+
 class YAMLObjectMetaclass(type):
     """
