Macaulay2 » Documentation
Packages » Python :: help(PythonObject)
next | previous | forward | backward | up | index | toc

help(PythonObject) -- documentation for python object



This calls Python's built-in help function, which provides documentation for Python objects.

i1 : math = import "math"

o1 = <module 'math' (built-in)>

o1 : PythonObject of class module
i2 : help math

o2 = This module provides access to the mathematical functions
     defined by the C standard.
i3 : help math@@sin

o3 = Return the sine of x (measured in radians).

Ways to use this method: