sufficiently pythonic code for testing type of function

Scott David Daniels scott.daniels at acm.org
Fri Oct 13 18:38:24 CEST 2006


Bruno Desthuilliers wrote:
> ... idempotent -> no side effects.

Nope.  idempotent: f(f(x)) = f(x)
That is, after doing it once, repeating it won't hurt.

--Scott David Daniels
scott.daniels at acm.org



More information about the Python-list mailing list