* Resets the interpreter. Unlike `initializeInterpreter`, this will have no * effect if the interpreter hasn't been initialized yet. */
| 157 | * effect if the interpreter hasn't been initialized yet. |
| 158 | */ |
| 159 | void reset() |
| 160 | { |
| 161 | if (this->isInterpreterInitialized()) |
| 162 | { |
| 163 | this->Parent->printString(QString("\n%1 ...\n").arg(tr("resetting")), pqPythonShell::ERROR); |
| 164 | this->initializeInterpreter(); |
| 165 | } |
| 166 | } |
| 167 | |
| 168 | vtkPythonInteractiveInterpreter* interpreter() const { return this->Interpreter; } |
| 169 |
nothing calls this directly
no test coverage detected