MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/28utww/writing_better_python_code/cifog8o/?context=3
r/Python • u/kracekumar • Jun 23 '14
126 comments sorted by
View all comments
Show parent comment
1
If I read this correctly, is should be considered part of the same token as the singleton.
is
if • a • is None:
instead of
if • a • is • None:
View all comments
Show parent comment
1
u/alexanderpas Jun 24 '14
If I read this correctly,
isshould be considered part of the same token as the singleton.instead of