News for hackers. Stuff that matters.
Re:Understanding a Python Closure Oddity by NwtnsMthd on Monday June 17, 2024 @01:43PM (#40708599)
Does this work for user defined classes (objects) as well?
Re:Understanding a Python Closure Oddity by Jtsummers on Monday June 17, 2024 @05:50PM (#40711476)
Yes, and by the same mechanism and for the same reason.