skepller@lemmy.world to Programmer Humor@programming.devEnglish · 1 month agoTOMLlemmy.worldimagemessage-square159fedilinkarrow-up1566arrow-down114
arrow-up1552arrow-down1imageTOMLlemmy.worldskepller@lemmy.world to Programmer Humor@programming.devEnglish · 1 month agomessage-square159fedilink
minus-squarepanda_abyss@lemmy.calinkfedilinkarrow-up41·1 month agoOh, a trailing comma? That’s a tuple.
minus-squareValmond@lemmy.dbzer0.comlinkfedilinkarrow-up11·1 month agoYeah when the call_func((a,)) is the way to go it is a newbie pain for sure. Remember banging my head on that one.
minus-squarepanda_abyss@lemmy.calinkfedilinkarrow-up7·1 month agoI’ve spent hours on that, and debugging missing commas between string literals. Even on separate lines you’re not safe from implicit concatenation.
Found the python guy!
Oh, a trailing comma? That’s a tuple.
Yeah when the call_func((a,)) is the way to go it is a newbie pain for sure. Remember banging my head on that one.
I’ve spent hours on that, and debugging missing commas between string literals. Even on separate lines you’re not safe from implicit concatenation.