
Yeah I realized that when I went to my laptop hhh. Hence the previous email correcting it.
On 24 Oct 2021, at 5:19 PM, Steven D'Aprano <steve@pearwood.info> wrote:
On Sun, Oct 24, 2021 at 04:57:16PM +0400, Abdulla Al Kathiri wrote:
def insort_right(a, x, lo=0, hi={len(a)}, *, key=None): …
That's already legal syntax for a default value of a set with one element, len(a).
-- Steve _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-leave@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/6KWFKB... Code of Conduct: http://python.org/psf/codeofconduct/