En Wed, 26 Sep 2007 23:01:17 -0300, Matthew Wilson <[EMAIL PROTECTED]> escribi�:
> I wrote some code to create a user and update a user on a remote box by > sending emails to that remote box. When I was done, I realized that my > create_user function and my update_user function were effectively > identical except for different docstrings and a single different value > inside: I would have used an object with two methods... But this is just another example of the closure/object dichotomy. Some enlightment: http://people.csail.mit.edu/gregs/ll1-discuss-archive-html/msg03277.html -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list