From 0cef8646631881d70c102e6e044129eea52ca7d3 Mon Sep 17 00:00:00 2001 From: Duy-Nguyen Ta Date: Mon, 5 Dec 2016 11:00:33 -0500 Subject: [PATCH] __cinit__ --> __init__ --- wrap/Class.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrap/Class.cpp b/wrap/Class.cpp index 11bfc9f49..4c36cd80c 100644 --- a/wrap/Class.cpp +++ b/wrap/Class.cpp @@ -823,7 +823,7 @@ void Class::emit_cython_pyx(FileWriter& pyxFile, const std::vector& 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";