Entrance hidden by thighs and stubble
- 0 Posts
- 14 Comments
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.catoCartography Anarchy@lemm.ee•If Europe had been colonized by another continentEnglish
1·9 months agoYou forgot the most important part: With the help of the Bears, you subjugate all three tribes, steal their wealth, murder their people, and eradicate their culture.
RapidCatLauncher@lemmy.cato
Leopards Ate My Face@lemmy.world•Josh Hawley Begs Trump Administration to Approve FEMA Aid for MissouriEnglish
46·9 months agoSELL THEIR HOUSES TO WHO, JOSH? FUCKING i don’t actually have anything for this
RapidCatLauncher@lemmy.cato
Cyberstuck@lemmy.ca•The Swastidumpster has the Best Armored WindowsEnglish
7·9 months agoHis problem is that he’s stringing too many sentences together.
RapidCatLauncher@lemmy.cato
Programmer Humor@programming.dev•This might have some impact on efficiencyEnglish
57·10 months agoHidden feature: Defines a
tariff.admin.impeachfunction that increments a global counter and does absolutely nothing else
RapidCatLauncher@lemmy.cato
Leopards Ate My Face@lemmy.world•Colorado Springs artist denies trying to distort Trump in portraitEnglish
28·10 months agoHonestly, that portrait looks more human than the real thing. Why is he upset?
RapidCatLauncher@lemmy.cato
Canada@lemmy.ca•Poilievre launches his campaign promising to be "respectful and firm" against TrumpEnglish
5·10 months 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·11 months agoThat’s probably why.


“I Have No Arms, and I Must Lean”