Skip to content
Snippets Groups Projects
Commit be3571ba authored by AlQuemist's avatar AlQuemist
Browse files

PyCore/Embed/PyInterpreter: add comment

parent f3bdf9cd
No related branches found
No related tags found
1 merge request!2274PyCore tests; rm old Python API
...@@ -180,6 +180,7 @@ PyObjectPtr PyInterpreter::import(const std::string& pymodule_name, const std::s ...@@ -180,6 +180,7 @@ PyObjectPtr PyInterpreter::import(const std::string& pymodule_name, const std::s
{ {
ASSERT(!pymodule_name.empty()); ASSERT(!pymodule_name.empty());
// initialize numpy which might be needed
PyInterpreter::Numpy::initialize(); PyInterpreter::Numpy::initialize();
if (!path.empty()) if (!path.empty())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment