![](https://secure.gravatar.com/avatar/d67ab5d94c2fed8ab6b727b62dc1b213.jpg?s=120&d=mm&r=g)
23 Oct
2021
23 Oct
'21
6:56 p.m.
On Sun, Oct 24, 2021 at 4:12 AM Ethan Furman <ethan@stoneleaf.us> 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