Is there a way to change the closure of a python function?

Lawrence D’Oliveiro lawrencedo99 at gmail.com
Tue Sep 27 18:36:48 EDT 2016


On Wednesday, September 28, 2016 at 4:01:36 AM UTC+13, Chris Angelico wrote:
> You can also have multiple closures in the same context, and changes made by
> one of them will affect the others.

This is the point where it’s probably easier to wrap them all together into methods of a common class.



More information about the Python-list mailing list