Website hosting service by Active-Venture.com
  

 Back to Index


2.3.10 Special Attributes

The implementation adds a few special read-only attributes to several object types, where they are relevant:

 

__dict__
A dictionary or other mapping object used to store an object's (writable) attributes.

 

__methods__
Deprecated since release 2.2. Use the built-in function dir() to get a list of an object's attributes. This attribute is no longer available.

 

__members__
Deprecated since release 2.2. Use the built-in function dir() to get a list of an object's attributes. This attribute is no longer available.

 

__class__
The class to which a class instance belongs.

 

__bases__
The tuple of base classes of a class object. If there are no base classes, this will be an empty tuple.

 

    

 

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/

 

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

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

 
 

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