Menu

Methods

SHMolyneaux

Method inherits from [Objects].

This class contains the following methods:

  • compile
  • __call__

This class also overrides the following methods from a parent class:

  • __str__
  • __repr__

Methods

__str__()

  • returns a string "Method(%s)" where %s is repr(self.__key__)

__repr__()

  • functional the same as __str__.

compile()

  • compiles the Method from the attribute method_text. The compiled data is put in the attribute marshalled_code_object, and the default values are put in the attribute __defaults__.

__call__( *args, **keyargs )

  • calls the function using the given arguments.

Related

Wiki: Classes
Wiki: Links
Wiki: Objects

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.