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

Method ps2

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

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

Source from the content-addressed store, hash-verified

701
702//----------------------------------------------------------------------------
703QString ctkPythonConsole::ps2() const
704{
705 PyObject * ps2 = PySys_GetObject(const_cast<char*>("ps2"));
706 const char * ps2_str = PyString_AsString(ps2);
707 return QLatin1String(ps2_str);
708}
709
710//----------------------------------------------------------------------------
711void ctkPythonConsole::setPs2(const QString& newPs2)

Callers 3

updateCompleterMethod · 0.80
promptForInputMethod · 0.80
insertCompletionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected