def getrepr(obj, *args) ->str:
    """generate generic reprs for objects."""
    classname = obj.__class__.__name__
    argstr = ', '.join(map(repr, args))
    return '{}({})'.format(classname, argstr)
