“I Have No Arms, and I Must Lean”
- 0 Posts
- 11 Comments
Joined 1 year ago
Cake day: March 10th, 2025
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
Entrance hidden by thighs and stubble
That just gave me the idea that it would be fun to inspect
exita little.Which led me down this path:
>>> repr(exit) 'Use exit() or Ctrl-Z plus Return to exit' >>> dir(exit) [(...), 'eof', 'name'] >>> exit.eof, exit.name ('Ctrl-Z plus Return', 'exit')Okay, cool, the “Use exit() etc.” blurb appears because it’s the function’s
repr, and the string is assembled from itsnameandeofproperties.Now let’s try to make our own:
>>> exit.__class__ <class '_sitebuiltins.Quitter'> >>> gtfo = exit.__class__() TypeError: Quitter.__init__() missing 2 required positional arguments: 'name' and 'eof'Oh Python, you shouldn’t have.
>>> gtfo = exit.__class__("a big puff of smoke", "a sneaky skedaddle") >>> gtfo Use a big puff of smoke() or a sneaky skedaddle to exitBeauty!
RapidCatLauncher@lemmy.cato
Programmer Humor@programming.dev•This might have some impact on efficiencyEnglish
58·1 year agoHidden feature: Defines a
tariff.admin.impeachfunction that increments a global counter and does absolutely nothing else
Quick maffs
RapidCatLauncher@lemmy.cato
Canada@lemmy.ca•Poilievre launches his campaign promising to be "respectful and firm" against TrumpEnglish
5·1 year ago“I am a tough guy. I will be very firm.”
Can’t even sound tough if he tries. Fucking loser that he is.
If you look up “yoink” in a dictionary, it should link to this video.
RapidCatLauncher@lemmy.cato
Canada@lemmy.ca•Carney kills consumer carbon tax in first move as prime ministerEnglish
20·1 year agoThat’s probably why.


“The brown people are taking over!” didn’t do it for you?