fixed more python 3 related import problems
parent
e896ae1c43
commit
70470ff59b
|
@ -403,9 +403,9 @@ void Module::emit_cython_pyx(FileWriter& pyxFile) const {
|
||||||
pyxFile.oss << "cimport numpy as np\n"
|
pyxFile.oss << "cimport numpy as np\n"
|
||||||
"import numpy as npp\n"
|
"import numpy as npp\n"
|
||||||
"cimport " << pxdHeader << "\n"
|
"cimport " << pxdHeader << "\n"
|
||||||
"from "<< pxdHeader << " cimport shared_ptr\n"
|
"from ."<< pxdHeader << " cimport shared_ptr\n"
|
||||||
"from "<< pxdHeader << " cimport dynamic_pointer_cast\n"
|
"from ."<< pxdHeader << " cimport dynamic_pointer_cast\n"
|
||||||
"from "<< pxdHeader << " cimport make_shared\n";
|
"from ."<< pxdHeader << " cimport make_shared\n";
|
||||||
|
|
||||||
pyxFile.oss << "# C helper function that copies all arguments into a positional list.\n"
|
pyxFile.oss << "# C helper function that copies all arguments into a positional list.\n"
|
||||||
"cdef list process_args(list keywords, tuple args, dict kwargs):\n"
|
"cdef list process_args(list keywords, tuple args, dict kwargs):\n"
|
||||||
|
|
Loading…
Reference in New Issue