ASPN ActiveState Programmer Network
  ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups | Web Services
SEARCH
advanced | search help

Reference
ActivePython 2.4
Python Documentation
Library Reference
2. Built-In Objects
2.1 Built-in Functions
2.2 Non-essential Built-in Functions
2.3 Built-in Types
2.4 Built-in Exceptions
2.5 Built-in Constants

MyASPN >> Reference >> ActivePython 2.4 >> Python Documentation >> Library Reference >> 2. Built-In Objects
ActivePython 2.4 documentation

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.

See About this document... for information on suggesting changes.

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState 2004 All rights reserved