lxml :: html :: _MethodFunc :: Class _MethodFunc |
[hide private]
[frames] | no frames]

# Class _MethodFunc

source code

    object --+
             |
            _MethodFunc

An object that represents a method on an element as a function; the function takes either an element or an HTML string. It returns whatever the function normally returns, or if the function works in-place (and so returns None) it returns a serialized form of the resulting document.

Instance Methods | [hide private]
__call__(self, doc, *args, **kw) | source code
__init__(self, name, copy=False, source_class=<class 'lxml.html.HtmlMixin'>) x.__init__(...) initializes x; see help(type(x)) for signature | source code
Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

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

Method Details | [hide private]

### __init__(self, name, copy=False, source_class=<class 'lxml.html.HtmlMixin'>) (Constructor) | source code
x.__init__(...) initializes x; see help(type(x)) for signature Overrides: object.__init__ (inherited documentation)