src.templates.function.expose Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jython-standalone Show documentation
Show all versions of jython-standalone Show documentation
Jython is an implementation of the high-level, dynamic, object-oriented
language Python written in 100% Pure Java, and seamlessly integrated with
the Java platform. It thus allows you to run Python on any Java platform.
# setup
type_name: function
type_class: PyFunction
type_base_class: PyObject
# exposed methods
expose_getset: func_closure getFuncClosure
expose_getset: func_globals getFuncGlobals
expose_getset: func_name getFuncName
expose_getset: func_dict getFuncDict setFuncDict
expose_getset: func_code getFuncCode setFuncCode
expose_getset: func_doc getFuncDoc setFuncDoc
#todo: setFuncDefaults
expose_getset: func_defaults getFuncDefaults
expose_meth: __repr__
`sdeleg`(toString);
expose_wide_meth: __call__ -1 -1
expose_new_mutable: