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

Class _ListErrorLog

   object --+    
            |    
_BaseErrorLog --+
                |
               _ListErrorLog
Known Subclasses:

Immutable base version of a list based error log.
Instance Methods [hide private]
 
__contains__(x, y)
y in x
 
__getitem__(x, y)
x[y]
 
__init__(...)
x.__init__(...) initializes x; see help(type(x)) for signature
 
__iter__(x)
iter(x)
 
__len__(x)
len(x)
a new object with type S, a subtype of T
__new__(T, S, ...)
 
__nonzero__(x)
x != 0
 
__repr__(x)
repr(x)
 
copy(...)
Creates a shallow copy of this error log. Reuses the list of entries.
 
filter_domains(...)
Filter the errors by the given domains and return a new error log containing the matches.
 
filter_from_errors(self)
Convenience method to get all error messages or worse.
 
filter_from_fatals(self)
Convenience method to get all fatal error messages.
 
filter_from_level(self, level)
Return a log with all messages of the requested level of worse.
 
filter_from_warnings(self)
Convenience method to get all warnings or worse.
 
filter_levels(self, levels)
Filter the errors by the given error levels and return a new error log containing the matches.
 
filter_types(self, types)
Filter the errors by the given types and return a new error log containing the matches.

Inherited from _BaseErrorLog: receive

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from _BaseErrorLog: last_error

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 
x.__init__(...) initializes x; see help(type(x)) for signature
Overrides: object.__init__

__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__

copy(...)

 
Creates a shallow copy of this error log. Reuses the list of entries.
Overrides: _BaseErrorLog.copy