On 1/01/23 11:36 am, avi.e.gr...@gmail.com wrote:
And, of course, we had the philosophical question of why the feature was designed to not return anything ... rather than return the changed object.
My understanding is that Guido designed it that way to keep a clear separation between mutating and non-mutating methods, and to help catch mistakes resulting from mixing them up. -- Greg -- https://mail.python.org/mailman/listinfo/python-list