Skip to content

u/mistabuda

In this archive from Jul 2023 to Nov 2026

3
posts
17
comments
2
media
162
score
1 saved before deletion

Top posts

Top comments

This is not accurate.

In python "is" is 9/10 used for identity checking. The reason why something like 1 is 1 == true. is because rhe first numbers 1 through 255 are statically defined in the interpreter. So it works because they are the same exact object in memory. If you try to use it on 2 classes that have all the same values and are equivalent it would fail because they are not the same object in memory. They are 2 equivalent but complete different objects.

9 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.