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/

Reply via email to