numpy.source()
numpy.source
-
numpy.source(object, output=
[source]', mode 'w' at 0x402ae078>) -
Print or write to a file the source code for a Numpy object.
The source code is only returned for objects written in Python. Many functions and classes are defined in C and will therefore not return useful information.
Parameters: object : numpy object
Input object. This can be any object (function, class, module, ...).
output : file objec