Name
xpt.registerfunction — register a Python function to XPT
Synopsis
import xpt
xpt.registerfunction(xptname,pythonname)
Description
Register a Python function to xpt. Inside xpt the function is named
xptname, the name of the Python function is pythonname. The latter
argument is optional. If not specified it will be computed using
the specified xptname.
Errors
An exception is raised if incorrect parameters are passed.
See Also
xpt(1), python(1).