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 <st...@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-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/6KWFKBK4UYQBKVVRPHJ6FX7Y67TREAAZ/ > Code of Conduct: http://python.org/psf/codeofconduct/ _______________________________________________ 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/A7GDGIMGG6EFGDN7HFFCIHBN4ZD2RISR/ Code of Conduct: http://python.org/psf/codeofconduct/