Steven D'Aprano wrote:
And how does Python know whether some arbitrary default object is mutable or not?
It doesn't, that's the whole point. -- Greg -- http://mail.python.org/mailman/listinfo/python-list
Steven D'Aprano wrote:
And how does Python know whether some arbitrary default object is mutable or not?
It doesn't, that's the whole point. -- Greg -- http://mail.python.org/mailman/listinfo/python-list