On Nov 18, 2019, at 11:07, Chris Angelico <ros...@gmail.com> wrote: > > If by "constant" you mean that they are immutable, then maybe; there > aren't very many mutable callables (by comparison to the huge number > of functions).
Functions are mutable. You can edit their __defaults__, or even replace their __code__. In fact, there aren’t very many _immutable_ callables (by comparison to the huge number of functions). _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/6IIKCWJX4HXD65TCMGU2QWWLY5GJG5ZC/ Code of Conduct: http://python.org/psf/codeofconduct/