sufficiently pythonic code for testing type of function

Fredrik Lundh fredrik at pythonware.com
Fri Oct 13 13:19:10 EDT 2006


Scott David Daniels wrote:

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

http://en.wikipedia.org/wiki/Idempotence_%28computer_science%29

</F>




More information about the Python-list mailing list