MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / sPyWarning

Method sPyWarning

src/Base/Console.cpp:550–556  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

548}
549
550PyObject* ConsoleSingleton::sPyWarning(PyObject* /*self*/, PyObject* args)
551{
552 return FC_PYCONSOLE_MSG(
553 [](const std::string& notifier, const char* msg) { instance().warning(notifier, "%s", msg); },
554 args
555 );
556}
557
558PyObject* ConsoleSingleton::sPyDeveloperWarning(PyObject* /*self*/, PyObject* args)
559{

Callers

nothing calls this directly

Calls 3

FC_PYCONSOLE_MSGFunction · 0.85
instanceFunction · 0.50
warningMethod · 0.45

Tested by

no test coverage detected