def move_to_trash(prefix, f, tempdir=None):
 return move_path_to_trash((join(prefix, f) if f else prefix))

def move_to_trash ( prefix , f , tempdir = None ) : return move_path_to_trash ( ( join ( prefix , f ) if f else prefix ) )
move a file or folder f from prefix to the trash tempdir is a deprecated parameter .