@JPDev to Programmer Humor • 8 months agoReturns a sorted list in O(1) timeimagemessage-square27arrow-up1294arrow-down114
arrow-up1280arrow-down1imageReturns a sorted list in O(1) time@JPDev to Programmer Humor • 8 months agomessage-square27
minus-squareTrailblazing Braille Taserlinkfedilink3•8 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
That is a type hint
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