On Sun, Oct 24, 2021 at 4:12 AM Ethan Furman <[email protected]> wrote: > > On 10/23/21 9:44 AM, Chris Angelico wrote: > > > Feel free to propose an improvement to the syntax. Whatever spelling > > is ultimately used, this would still be of value. > > def bisect(a, x, lo=0, hi?=len(a)): >
Ah, okay. I had considered =? as an option, but that's also viable. I don't think there's any situation where this would be ambiguous, so I'll docket that as another possibility. Thanks. ChrisA _______________________________________________ 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/EF6QQWZORFHECDM2MJRKGWVAEPKU3I27/ Code of Conduct: http://python.org/psf/codeofconduct/
