Back to index

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

List of all members.

Public Member Functions

def __getattr__
def __setattr__
def __delattr__

Detailed Description

Definition at line 256 of file plistlib.py.


Member Function Documentation

def plistlib._InternalDict.__delattr__ (   self,
  attr 
)

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 
)

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 
)

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: