(func, format_references=None)
return format_references(func) if format_references is not None else None
Return a string representation for `func`.
Return a string representation for `func`.
Return a string representation for func .
def rep(func, format_references=None):
    """ Return a string representation for `func`. """
    if isinstance(func, string_types):
        return func
    if isinstance(func, numbers.Number):
        return str(func)
    return format_references(func) if format_references is not None else None
def rep ( func , format_references = None ) : if isinstance ( func , string_types ) : return func if isinstance ( func , numbers . Number ) : return str ( func ) return format_references ( func ) if format_references is not None else None