You can "decapitate" the tool as follows:
import sympy f = sympy.Function("f") f.__doc__ = "A naked function without any special properties"
You can get the tool in the same way, for example, print(f.__doc__) . In iPython, etc. Can you also use f? to receive it (along with other information).
source share