JPDev to Programmer Humor · 11 months agoReturns a sorted list in O(1) timeimagemessage-square27fedilinkarrow-up1294arrow-down114
arrow-up1280arrow-down1imageReturns a sorted list in O(1) timeJPDev to Programmer Humor · 11 months agomessage-square27fedilink
minus-squareTrailblazing Braille Taser@lemmy.dbzer0.comlinkfedilinkarrow-up3·11 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