The Python Oracle

Why is there no explicit emptyness check (for example `is Empty`) in Python

This video explains
Why is there no explicit emptyness check (for example `is Empty`) in Python

--

Become part of the top 3% of the developers by applying to Toptal
https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Breezy Bay

--

Chapters
00:00 Question
01:08 Accepted answer (Score 15)
03:34 Answer 2 (Score 21)
04:50 Answer 3 (Score 6)
05:20 Answer 4 (Score 0)
06:26 Thank you

--

Full question
https://stackoverflow.com/questions/3488...

Question links:
[The Zen of Python]: https://www.python.org/dev/peps/pep-0020/
[Python: What is the best way to check if a list is empty?]: https://stackoverflow.com/questions/5351...

Accepted answer links:
[python manual]: http://docs.python.org/2/reference/expre...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python

#avk47