__cinit__ --> __init__

release/4.3a0
Duy-Nguyen Ta 2016-12-05 11:00:33 -05:00
parent 427d88ed5b
commit 0cef864663
1 changed files with 1 additions and 1 deletions

View File

@ -823,7 +823,7 @@ void Class::emit_cython_pyx(FileWriter& pyxFile, const std::vector<Class>& allCl
pyxFile.oss << " cdef " << shared_pxd_class_in_pyx() << " " << shared_pxd_obj_in_pyx() << "\n";
// __cinit___
pyxFile.oss << " def __cinit__(self, *args, **kwargs):\n"
pyxFile.oss << " def __init__(self, *args, **kwargs):\n"
" self." << shared_pxd_obj_in_pyx() << " = "
<< shared_pxd_class_in_pyx() << "()\n";