skepller@lemmy.world to Programmer Humor@programming.devEnglish · 3 个月前TOMLlemmy.worldimagemessage-square94linkfedilinkarrow-up1445
arrow-up1445imageTOMLlemmy.worldskepller@lemmy.world to Programmer Humor@programming.devEnglish · 3 个月前message-square94linkfedilink
minus-square[object Object]@lemmy.calinkfedilinkarrow-up29·3 个月前Oh, a trailing comma? That’s a tuple.
minus-squareValmond@lemmy.dbzer0.comlinkfedilinkarrow-up9·3 个月前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.
minus-square[object Object]@lemmy.calinkfedilinkarrow-up6·3 个月前I’ve spent hours on that, and debugging missing commas between string literals. Even on separate lines you’re not safe from implicit concatenation.
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.