MCPcopy Create free account
hub / github.com/commontk/CTK / isInUserDefinedClass

Method isInUserDefinedClass

Libs/Scripting/Python/Widgets/ctkPythonConsole.cpp:192–195  ·  view source on GitHub ↗

---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

190
191//---------------------------------------------------------------------------
192bool ctkPythonConsoleCompleterPrivate::isInUserDefinedClass(const QString &pythonFunctionPath)
193{
194 return this->PythonManager.pythonAttributes(pythonFunctionPath).contains("__func__");
195}
196
197//---------------------------------------------------------------------------
198bool ctkPythonConsoleCompleterPrivate::isUserDefinedFunction(const QString &pythonFunctionName)

Callers 1

cursorOffsetMethod · 0.80

Calls 2

pythonAttributesMethod · 0.80
containsMethod · 0.45

Tested by

no test coverage detected