On Nov 18, 2019, at 11:07, Chris Angelico <[email protected]> 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 -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/6IIKCWJX4HXD65TCMGU2QWWLY5GJG5ZC/ Code of Conduct: http://python.org/psf/codeofconduct/
