Steven D'Aprano <steve+pyt...@pearwood.info> added the comment:

Oh, I forgot to mention that this is discussed in one of the FAQs:

https://docs.python.org/3/faq/programming.html#why-are-default-values-shared-between-objects

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38451>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to