def _ri2py(obj):
    """ Dummy function for ri2py.

    This function will convert Python objects into Python (presumably non-rpy2) objects.
    """
    raise NotImplementedError(
        "Conversion 'ri2py' not defined for objects of type '%s'" % str(
        type(obj)))
