page moved to http://xahlee.info/python/stateful_func.html