The Python Oracle

how to return None if constructor arguments invalid

This video explains
how to return None if constructor arguments invalid

--

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: Digital Sunset Looping

--

Chapters
00:00 Question
00:51 Accepted answer (Score 45)
01:54 Answer 2 (Score 1)
02:41 Answer 3 (Score 1)
03:03 Thank you

--

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

Accepted answer links:
[classmethod]: https://docs.python.org/2/library/functi...

--

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

--

Tags
#python #class #oop

#avk47