24 Oct
2021
24 Oct
'21
12:26 a.m.
On Sun, Oct 24, 2021 at 4:12 AM Ethan Furman
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