Website hosting service by Active-Venture.com
  

 Back to Index

2.5 Built-in Constants

A small number of constants live in the built-in namespace. They are:

 

False
The false value of the bool type. New in version 2.3.

 

True
The true value of the bool type. New in version 2.3.

 

None
The sole value of types.NoneType. None is frequently used to represent the absence of a value, as when default arguments are not passed to a function.

 

NotImplemented
Special value which can be returned by the ``rich comparison'' special methods (__eq__(), __lt__(), and friends), to indicate that the comparison is not implemented with respect to the other type.

 

Ellipsis
Special value used in conjunction with extended slicing syntax.
 

  

 

© 2002-2004 Active-Venture.com Webhosting Service

 

Disclaimer: This documentation is provided only for the benefits of our hosting customers.
For authoritative source of the documentation, please refer to http://python.org/doc/

 

Domain registration : Buy domain name or register domain name from $5.95/year only

 

Cheap domain registration : Register domain name or buy domain name, including free domain hosting services

 
  Active-Domain.com offers cheap domain registration, domain name transfer and domain search services