Docs for XML.__subclasshook__.__self__
Description
<type 'type'> extends (<class 'gluon.html.XmlComponent'>,)
|
Attributes
XML.__subclasshook__.__self__.__add__ |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
|
XML.__subclasshook__.__self__.__class__ |
<type 'type'> extends (<type 'object'>,)
belongs to class <type 'type'>
type(object) -> the object's type type(name, bases, dict) -> a new type |
XML.__subclasshook__.__self__.__cmp__ |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
|
XML.__subclasshook__.__self__.__delattr__ |
<type 'wrapper_descriptor'>
belongs to class <type 'wrapper_descriptor'>
x.__delattr__('name') <==> del x.name |
XML.__subclasshook__.__self__.__dict__ |
<type 'dictproxy'>
belongs to class <type 'dictproxy'>
|
XML.__subclasshook__.__self__.__doc__ |
<type 'str'>
belongs to class <type 'str'>
str(object='') -> string Return a nice string representation of the object. If the argument is a string, the return value is the same object. |
XML.__subclasshook__.__self__.__format__ |
<type 'method_descriptor'>
belongs to class <type 'method_descriptor'>
default object formatter |
XML.__subclasshook__.__self__.__getattribute__ |
<type 'wrapper_descriptor'>
belongs to class <type 'wrapper_descriptor'>
x.__getattribute__('name') <==> x.name |
XML.__subclasshook__.__self__.__getitem__ |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
|
XML.__subclasshook__.__self__.__getslice__ |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
|
XML.__subclasshook__.__self__.__hash__ |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
|
XML.__subclasshook__.__self__.__init__ |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
Args: text: the XML text sanitize: sanitize text using the permitted tags and allowed attributes (default False) permitted_tags: list of permitted tags (default: simple list of tags) allowed_attributes: dictionary of allowed attributed (default for A, IMG and BlockQuote). The key is the tag; the value is a list of allowed attributes. |
XML.__subclasshook__.__self__.__iter__ |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
|
XML.__subclasshook__.__self__.__len__ |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
|
XML.__subclasshook__.__self__.__module__ |
<type 'str'>
belongs to class <type 'str'>
str(object='') -> string Return a nice string representation of the object. If the argument is a string, the return value is the same object. |
XML.__subclasshook__.__self__.__mul__ |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
|
XML.__subclasshook__.__self__.__new__ |
<type 'builtin_function_or_method'>
belongs to class <type 'builtin_function_or_method'>
T.__new__(S, ...) -> a new object with type S, a subtype of T |
XML.__subclasshook__.__self__.__radd__ |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
|
XML.__subclasshook__.__self__.__reduce__ |
<type 'method_descriptor'>
belongs to class <type 'method_descriptor'>
helper for pickle |
XML.__subclasshook__.__self__.__reduce_ex__ |
<type 'method_descriptor'>
belongs to class <type 'method_descriptor'>
helper for pickle |
XML.__subclasshook__.__self__.__repr__ |
<type 'wrapper_descriptor'>
belongs to class <type 'wrapper_descriptor'>
x.__repr__() <==> repr(x) |
XML.__subclasshook__.__self__.__setattr__ |
<type 'wrapper_descriptor'>
belongs to class <type 'wrapper_descriptor'>
x.__setattr__('name', value) <==> x.name = value |
XML.__subclasshook__.__self__.__sizeof__ |
<type 'method_descriptor'>
belongs to class <type 'method_descriptor'>
__sizeof__() -> int size of object in memory, in bytes |
XML.__subclasshook__.__self__.__str__ |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
|
XML.__subclasshook__.__self__.__subclasshook__ |
<type 'builtin_function_or_method'>
belongs to class <type 'builtin_function_or_method'>
Abstract classes can override this to customize issubclass(). This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached). |
XML.__subclasshook__.__self__.__weakref__ |
<type 'getset_descriptor'>
belongs to class <type 'getset_descriptor'>
list of weak references to the object (if defined) |
XML.__subclasshook__.__self__.add_class |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
add a class to _class attribute |
XML.__subclasshook__.__self__.elements |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
to be considered experimental since the behavior of this method is questionable another option could be `TAG(self.text).elements(*args,**kwargs)` |
XML.__subclasshook__.__self__.flatten |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
returns the text stored by the XML object rendered by the `render` function |
XML.__subclasshook__.__self__.remove_class |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
remove a class from _class attribute |
XML.__subclasshook__.__self__.xml |
<type 'instancemethod'>
belongs to class <type 'instancemethod'>
|