Back to index

python3.2  3.2.2
Public Member Functions
plistlib.Dict Class Reference
Inheritance diagram for plistlib.Dict:
Inheritance graph
[legend]
Collaboration diagram for plistlib.Dict:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def __getattr__
def __setattr__
def __delattr__

Detailed Description

Definition at line 287 of file plistlib.py.


Constructor & Destructor Documentation

def plistlib.Dict.__init__ (   self,
  kwargs 
)

Definition at line 289 of file plistlib.py.

00289 
00290     def __init__(self, **kwargs):
00291         from warnings import warn
00292         warn("The plistlib.Dict class is deprecated, use builtin dict instead",
00293              PendingDeprecationWarning, 2)
00294         super().__init__(**kwargs)
00295 

Here is the caller graph for this function:


Member Function Documentation

def plistlib._InternalDict.__delattr__ (   self,
  attr 
) [inherited]

Definition at line 278 of file plistlib.py.

00278 
00279     def __delattr__(self, attr):
00280         try:
00281             del self[attr]
00282         except KeyError:
00283             raise AttributeError(attr)
00284         from warnings import warn
00285         warn("Attribute access from plist dicts is deprecated, use d[key] "
00286              "notation instead", PendingDeprecationWarning, 2)

def plistlib._InternalDict.__getattr__ (   self,
  attr 
) [inherited]

Definition at line 262 of file plistlib.py.

00262 
00263     def __getattr__(self, attr):
00264         try:
00265             value = self[attr]
00266         except KeyError:
00267             raise AttributeError(attr)
00268         from warnings import warn
00269         warn("Attribute access from plist dicts is deprecated, use d[key] "
00270              "notation instead", PendingDeprecationWarning, 2)
00271         return value

def plistlib._InternalDict.__setattr__ (   self,
  attr,
  value 
) [inherited]

Definition at line 272 of file plistlib.py.

00272 
00273     def __setattr__(self, attr, value):
00274         from warnings import warn
00275         warn("Attribute access from plist dicts is deprecated, use d[key] "
00276              "notation instead", PendingDeprecationWarning, 2)
00277         self[attr] = value


The documentation for this class was generated from the following file: