fix tab completion in pythonrc