Reference 〉 Function

funcStore.add(namestr, functionobject|function)

Adds a function to the dictionary. Subclasses of funcStore should modify this function according to the type of data to be stored.


  • name str, required

    The name of the data, to be used as its key for future reference.

  • function object|function, required

    The data to be stored under the name key.

Return Value object|function

The added object or function.

Notes and Examples

  1. Contribute a Note

    Your email address will not be published. Required fields are marked *

    You may use limited HTML for formatting. Please embed blocks of code in <pre><code> </code></pre> tags.