Changes to make use of "K" command to lookup python documentation more
robust.