Methods - shmolyneaux/SquareJam GitHub Wiki
Method inherits from Object.
This class contains the following methods:
compile
__call__
This class also overrides the following methods from a parent class:
__str__
__repr__
Methods
_str_()
- returns
Method(%s)
where%s
isrepr(self.__key__)
.
_repr_()
- functional the same as
__str__
.
compile()
- compiles the Method from the attribute
method_text
. The compiled data is put in the attributemarshalled_code_object
, and the default values are put in the attribute__defaults__
.
_call_( *args, **keyargs )
- calls the function using the given arguments.