Package cssutils :: Module util |
[hide private]
[frames] | no frames]

# Module util

source code

base classes for css and stylesheets packages

this test class does not run standalone! see _readURL() to fix this temporarily

Version: $Id: util.py 1159 2008-03-19 20:23:13Z cthedot $

Classes | [hide private]
| Base Base class for most CSS and StyleSheets classes
| Base2 Base class for new seq handling, used by Selector for now only
| Seq property seq of Base2 inheriting classes, holds a list of Item objects.
| Item an item in the seq list of classes (successor to tuple items in old seq)
| ListSeq (EXPERIMENTAL) A base class used for list classes like css.SelectorList or stylesheets.MediaList
| Deprecated This is a decorator which can be used to mark functions as deprecated.
| _Namespaces A dictionary like wrapper for @namespace rules used in a CSSStyleSheet.
| _SimpleNamespaces namespaces used in objects like Selector as long as they are not connected to a CSSStyleSheet

Functions | [hide private]
_readURL(url, encoding=None) Retrieve text from url using explicit or detected encoding via encutils | source code

Imports: codecs, ifilter, re, types, urllib2, xml, cssutils, encutils, Tokenizer