remove a pyc object