▲ 144 ▼ You can't understand my pain (lemmy.world) submitted 2 years ago by egeres@lemmy.world to c/programmerhumor@lemmy.ml 15 comments fedilink hide all child comments
[–] Asudox@lemmy.world 19 points 2 years ago* (last edited 2 years ago) (1 child) def piss(): pass; piss = piss() Here you go. permalink fedilink source hideshow 2 child comments replies: [–] egeres@lemmy.world [S] 8 points 2 years ago (1 child) But actually, You can just replace that line with piss = None, assigning piss = piss() does not invoke the former method when writing the new variable "standalone" permalink fedilink source parent hideshow 2 child comments replies: [–] Asudox@lemmy.world 1 point 2 years ago Oh well. permalink fedilink source parent
[–] egeres@lemmy.world [S] 8 points 2 years ago (1 child) But actually, You can just replace that line with piss = None, assigning piss = piss() does not invoke the former method when writing the new variable "standalone" permalink fedilink source parent hideshow 2 child comments replies: [–] Asudox@lemmy.world 1 point 2 years ago Oh well. permalink fedilink source parent