JPDev@programming.dev to Programmer Humor@programming.dev · 7 months agoReturns a sorted list in O(1) timeprogramming.devimagemessage-square26fedilinkarrow-up10arrow-down10
arrow-up10arrow-down1imageReturns a sorted list in O(1) timeprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 7 months agomessage-square26fedilink
minus-squareTrailblazing Braille Taser@lemmy.dbzer0.comlinkfedilinkarrow-up0·7 months agoWell duh. I wonder what happens if you shadow the list constructor and try to use it as a type hint… def foo(list: list): def bar(thingies: list): pass
Well duh. I wonder what happens if you shadow the list constructor and try to use it as a type hint…
def foo(list: list): def bar(thingies: list): pass