Paul Rubin <[email protected]>: > Ben Finney <[email protected]> writes: >> generate_id = functools.partial(next, itertools.count()) > > Is something wrong with: > > >>> g = itertools.count().next
I don't like lambda in Python. However, I like it better than functools.partial. Best of all, define an inner function. Marko -- https://mail.python.org/mailman/listinfo/python-list
