Hi Karl-Dieter, On 2015-10-05, kcrisman <[email protected]> wrote: >> Hi everyone, where it is possible to find the code of each command or >> maybe documentation? For example lagrange_polynomial. How can one see the >> function code, but documention would be better. Thank you in advance. >> > > sage: lagrange_polynomial? # should be doc > sage: lagrange_polynomial?? # should be code > > Note that the latter doesn't always work (for instance Python built-ins, or > some (all?) Cythonized functions) or so it seems to me.
The source code of Python built-ins can not be obtained by the "??". But if you have an object (a function, a type, and instance, ...) that is defined in the SageMath library, then "??" should give you the source code and "?" should give you the doc string. If it doesn't then it is a bug. Best regards, Simon -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
