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 |

__copy__(...) |

__deepcopy__(...) |

__delitem__(x, y) del x[y] |

__eq__(x, y) x==y |

__ge__(x, y) x>=y |

__getitem__(x, y) x[y] |

__gt__(x, y) x>y |

__iter__(x) iter(x) |

__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__(x) 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__`, `__format__`, `__getattribute__`, `__hash__`, `__init__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Properties | [hide private]

Inherited from `object`: `__class__`

Method Details | [hide private]

### __new__(T, S, ...)

Returns: a new object with type S, a subtype of T
Overrides: object.__new__

### __repr__(x)
(Representation operator)

repr(x)

Overrides: object.__repr__