The None Type

Python's version of NULL

  • Written as "None"
     a = None
     
  • Doesn't represent anything (an empty value)
  • Evaluates to false in boolean expressions.
  • Isn't very exciting in general (even though it's pretty useful).
<<< O'Reilly OSCON 2000, Introduction to Python, Slide 35
July 17, 2000, beazley@cs.uchicago.edu
>>>