Cython API: OBIWrapper.new method is now OBIWrapper.new_wrapper to avoid

mismatching method definitions with subclasses
This commit is contained in:
Celine Mercier
2017-07-27 19:38:25 +02:00
parent f8a4428674
commit 9701b1230c
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ cdef class OBIWrapper(OBIObject):
cdef inline bint active(self)
@staticmethod
cdef object new(type constructor, void* pointer)
cdef object new_wrapper(type constructor, void* pointer)
cdef class OBIObjectClosedInstance(Exception):

View File

@ -70,7 +70,7 @@ cdef class OBIWrapper(OBIObject) :
@staticmethod
cdef object new(type constructor, void* pointer) :
cdef object new_wrapper(type constructor, void* pointer) :
cdef OBIWrapper o