edit: handle virtual fns properly

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
show: fix the command so it works again

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Various fixups from pyflakes/pylint

Signed-off-by: Christopher Larson <chris_larson@mentor.com>