Subject: RE: [clisp-list] ISO something like apply in python

From: "Jens Himmelreich" <[email-masked]>
Date: Fri Feb 27 01:00:06 2004

Python 2.3.2 (#1, Oct  9 2003, 12:03:29)
[GCC 3.3.1 (cygming special)] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> def add(a,b):
...     return a + b
...
>>> add(3,4)
7
>>> apply(add, (3,4))
7
>>> print(apply.__doc__)
apply(object[, args[, kwargs]]) -> value

Call a callable object with positional arguments taken from the tuple
args,
and keyword arguments taken from the optional dictionary kwargs.
Note that classes are callable, as are instances with a __call__()
method.

Deprecated since release 2.3. Instead, use the extended call syntax:
    function(*args, **keywords).

best regards
jens himmelreich