Show More
@@ -162,7 +162,9 b' def _buildlowerencodefun():' | |||
|
162 | 162 | cmap[chr(x)] = "~%02x" % x |
|
163 | 163 | for x in range(ord("A"), ord("Z") + 1): |
|
164 | 164 | cmap[chr(x)] = chr(x).lower() |
|
165 | return lambda s: "".join([cmap[c] for c in s]) | |
|
165 | def lowerencode(s): | |
|
166 | return "".join([cmap[c] for c in s]) | |
|
167 | return lowerencode | |
|
166 | 168 | |
|
167 | 169 | lowerencode = getattr(parsers, 'lowerencode', None) or _buildlowerencodefun() |
|
168 | 170 |
General Comments 0
You need to be logged in to leave comments.
Login now