Change which method to be a property and return an enum type.
Old code using which() will still work since the enum type has a __call__ method.
This commit is contained in:
@@ -14,6 +14,6 @@ cdef class _DynamicStructReader:
|
||||
|
||||
cdef _init(self, C_DynamicStruct.Reader other, object parent, bint isRoot=?)
|
||||
|
||||
cpdef which(self)
|
||||
cpdef _which(self)
|
||||
|
||||
cpdef as_builder(self)
|
||||
Reference in New Issue
Block a user