Accueil
Rechercher:
sur developpez.com sur les forums
Forums | Tutoriels | F.A.Q's | Participez | Hébergement | Contacts
Accueil Conception Java DotNET Visual Basic  C  C++ Delphi MS-Office SQL & SGBD Oracle  4D  Business Intelligence
Club Emploi Blogs   TV   Dév. Web PHP XML Python Autres 2D-3D-Jeux Sécurité Windows Linux PC Mac
FORUM PYTHON F.A.Q PYTHON TUTORIELS PYTHON SOURCES PYTHON OUTILS PYTHON LIVRES PYTHON
3.12 Special Attributes


3.12 Special Attributes

The implementation adds a few special read-only attributes to several object types, where they are relevant. Some of these are not reported by the dir() built-in function.

__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.

__name__
The name of the class or type.

See About this document... for information on suggesting changes.
Responsable bénévole de la rubrique Python : Guillaume Duriaud - Contacter par EMail :
Vos questions techniques : forum d'entraide Python - Publiez vos articles, tutoriels et cours
et rejoignez-nous dans l'équipe de rédaction du club d'entraide des développeurs francophones
Nous contacter - Copyright © 2000-2008 www.developpez.com - Legal informations.