On Sat, Feb 20, 2010 at 4:46 AM, Nathann Cohen <[email protected]> wrote: > But when I instanciate the class I can only use its methods as Python > functions... My problem is that some arguments are to be C types :-/
cimport the module and cdef the class. Then you can call C methods. This sort of thing is used in many places in Sage, e.g., devel/sage/sage/modular/modsym/p1llist.pyx. > Nathann > > -- > To post to this group, send an email to [email protected] > To unsubscribe from this group, send an email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/sage-devel > URL: http://www.sagemath.org > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org -- To post to this group, send an email to [email protected] To unsubscribe from this group, send an email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org
