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

# Module helper

source code

cssutils helper

Version: $Id: errorhandler.py 1234 2008-05-22 20:26:12Z cthedot $

Classes | [hide private]
| Deprecated This is a decorator which can be used to mark functions as deprecated.

Functions | [hide private]
_simpleescapes(...) sub(repl, string[, count = 0]) --> newstring Return the string obtained by replacing the leftmost non-overlapping occurrences of pattern in string by the replacement repl. | source code
normalize(x) normalizes x, namely: | source code

Imports: re

Function Details | [hide private]

### normalize(x) | source code
normalizes x, namely: remove any before non unicode sequences (0-9a-zA-Z) so for x=="color" return "color" (unicode escape sequences should have been resolved by the tokenizer already) lowercase