diff --git a/src/Gui/CallTips.cpp b/src/Gui/CallTips.cpp index 0c1b2079ca..d62d8998ea 100644 --- a/src/Gui/CallTips.cpp +++ b/src/Gui/CallTips.cpp @@ -206,13 +206,14 @@ QMap CallTipsList::extractTips(const QString& context) const try { Py::Module module("__main__"); Py::Dict dict = module.getDict(); -#if 0 + + // this is used to filter out input of the form "1." QStringList items = context.split(QLatin1Char('.')); QString modname = items.front(); items.pop_front(); if (!dict.hasKey(std::string(modname.toLatin1()))) return tips; // unknown object - +#if 0 // get the Python object we need Py::Object obj = dict.getItem(std::string(modname.toLatin1())); while (!items.isEmpty()) {