Back to index

python3.2  3.2.2
Public Member Functions | Properties | Private Member Functions | Static Private Attributes
xml.dom.minicompat.EmptyNodeList Class Reference

List of all members.

Public Member Functions

def __add__
def __radd__
def item

Properties

 length

Private Member Functions

def _get_length
def _set_length

Static Private Attributes

tuple __slots__ = ()

Detailed Description

Definition at line 70 of file minicompat.py.


Member Function Documentation

def xml.dom.minicompat.EmptyNodeList.__add__ (   self,
  other 
)

Definition at line 73 of file minicompat.py.

00073 
00074     def __add__(self, other):
00075         NL = NodeList()
00076         NL.extend(other)
00077         return NL

def xml.dom.minicompat.EmptyNodeList.__radd__ (   self,
  other 
)

Definition at line 78 of file minicompat.py.

00078 
00079     def __radd__(self, other):
00080         NL = NodeList()
00081         NL.extend(other)
00082         return NL

Definition at line 86 of file minicompat.py.

00086 
00087     def _get_length(self):
00088         return 0

def xml.dom.minicompat.EmptyNodeList._set_length (   self,
  value 
) [private]

Definition at line 89 of file minicompat.py.

00089 
00090     def _set_length(self, value):
00091         raise xml.dom.NoModificationAllowedErr(
00092             "attempt to modify read-only attribute 'length'")

def xml.dom.minicompat.EmptyNodeList.item (   self,
  index 
)

Definition at line 83 of file minicompat.py.

00083 
00084     def item(self, index):
00085         return None


Member Data Documentation

tuple xml.dom.minicompat.EmptyNodeList.__slots__ = () [static, private]

Definition at line 71 of file minicompat.py.


Property Documentation

Initial value:
property(_get_length, _set_length,
                      doc="The number of nodes in the NodeList.")

Definition at line 93 of file minicompat.py.


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