RapidCatLauncher

joined 3 months ago
[–] [email protected] 1 points 2 weeks ago (1 children)
[–] [email protected] 101 points 2 weeks ago (7 children)

That just gave me the idea that it would be fun to inspect exit a 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 its name and eof properties.

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 exit

Beauty!

[–] [email protected] 1 points 1 month ago* (last edited 1 month ago) (1 children)

You 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.

[–] [email protected] 47 points 1 month ago (3 children)

SELL THEIR HOUSES TO WHO, JOSH? FUCKING i don't actually have anything for this

[–] [email protected] 7 points 2 months ago

His problem is that he's stringing too many sentences together.

[–] [email protected] 4 points 2 months ago (1 children)
[–] [email protected] 57 points 2 months ago* (last edited 2 months ago)

Hidden feature: Defines a tariff.admin.impeach function that increments a global counter and does absolutely nothing else

[–] [email protected] 0 points 2 months ago

... ist nun Eigentum der Bundesrepublik Deutschland, ja

So viel Zeit muss sein

[–] [email protected] 28 points 2 months ago (3 children)

Honestly, that portrait looks more human than the real thing. Why is he upset?

[–] [email protected] 5 points 2 months ago (1 children)
[–] [email protected] 5 points 3 months ago* (last edited 3 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.

[–] [email protected] 7 points 3 months ago

If you look up "yoink" in a dictionary, it should link to this video.

view more: next ›