type narrowing for cdef methods
Now if you inherit cdef methods from another class, you may re-declare the arguments and return variables to be sub-types of the original declared type. This will be especially convenient for the SAGE arithmetic architecture. Type-checking is performed if necessary.
Showing
Please register or sign in to comment