Package lxml :: Module etree :: Class _Attrib |
[hide private]
[frames] | no frames]

# Class _Attrib

    object --+
             |
            _Attrib

A dict-like proxy for the `Element.attrib` property.

Instance Methods | [hide private]
__contains__(x, y) y in x |
__delitem__(x, y) del x[y] |
__eq__(x, y) x==y |
__ge__(x, y) x>=y |
__getitem__(...) |
__gt__(x, y) x>y |
__init__(...) x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
__iter__(...) |
__le__(x, y) x<=y |
__len__(x) len(x) |
__lt__(x, y) x<y |
__ne__(x, y) x!=y |
a new object with type S, a subtype of T |
__new__(T, S, ...) |
__nonzero__(x) x != 0 |
__repr__(...) repr(x) |
__setitem__(x, i, y) x[i]=y |
clear(...) |
get(...) |
has_key(...) |
items(...) |
iteritems(...) |
iterkeys(...) |
itervalues(...) |
keys(...) |
pop(...) |
update(...) |
values(...) |
Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__str__`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(...) (Constructor) |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature Overrides: object.__init__

### __new__(T, S, ...) |
Returns: a new object with type S, a subtype of T Overrides: object.__new__

### __repr__(...) (Representation operator) |
repr(x) Overrides: object.__repr__ (inherited documentation)