Re:The Day Python Embarassed Imperative Programming
by SoftwareMaven on Monday February 27, 2012 @10:42AM
(#3639310)
That's not completely accurate. None is still special in Python because it's the value chosen by the interpreter to represent an expression that doesn't explicitly return a value.
It is true that None is implemented like any other object (whther the value of 5 or an instance of my own class), but it still maintains special semantics.
It is true that None is implemented like any other object (whther the value of 5 or an instance of my own class), but it still maintains special semantics.