Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Paste
P694
(An Untitled Masterwork)
Active
Public
Actions
Authored by
vlorentz
on Jun 11 2020, 10:49 AM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
None
>>> class Foo:
... def __bool__(self):
... return False
...
>>> foo = Foo()
>>> foo and foo.id
<__main__.Foo object at 0x7fd0168a6b38>
Event Timeline
vlorentz
created this paste.
Jun 11 2020, 10:49 AM
2020-06-11 10:49:41 (UTC+2)
Log In to Comment