Cython API: OBIWrapper.new method is now OBIWrapper.new_wrapper to avoid
mismatching method definitions with subclasses
This commit is contained in:
@ -21,7 +21,7 @@ cdef class OBIWrapper(OBIObject):
|
|||||||
cdef inline bint active(self)
|
cdef inline bint active(self)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
cdef object new(type constructor, void* pointer)
|
cdef object new_wrapper(type constructor, void* pointer)
|
||||||
|
|
||||||
|
|
||||||
cdef class OBIObjectClosedInstance(Exception):
|
cdef class OBIObjectClosedInstance(Exception):
|
||||||
|
@ -70,7 +70,7 @@ cdef class OBIWrapper(OBIObject) :
|
|||||||
|
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
cdef object new(type constructor, void* pointer) :
|
cdef object new_wrapper(type constructor, void* pointer) :
|
||||||
|
|
||||||
cdef OBIWrapper o
|
cdef OBIWrapper o
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user