(data_type, representer, Dumper=Dumper)
Add a representer for the given type.
    Representer is a function accepting a Dumper instance
    and an instance of the given data type
    and producing the corresponding representation node.
Add a representer for the given type.
    Representer is a function accepting a Dumper instance
    and an instance of the given data type
    and producing the corresponding representation node.
Add a representer for the given type . Representer is a function accepting a Dumper instance and an instance of the given data type and producing the corresponding representation node .
def add_representer(data_type, representer, Dumper=Dumper):
    """
    Add a representer for the given type.
    Representer is a function accepting a Dumper instance
    and an instance of the given data type
    and producing the corresponding representation node.
    """
    Dumper.add_representer(data_type, representer)
def add_representer ( data_type , representer , Dumper = Dumper ) : Dumper . add_representer ( data_type , representer )