Back to index

python3.2  3.2.2
Classes | Variables
lib2to3.fixes.fix_unicode Namespace Reference

Classes

class  FixUnicode

Variables

dictionary _mapping = {"unichr" : "chr", "unicode" : "str"}
tuple _literal_re = re.compile(r"[uU][rR]?[\'\"]")

Detailed Description

Fixer that changes unicode to str, unichr to chr, and u"..." into "...".

Variable Documentation

Definition at line 10 of file fix_unicode.py.

dictionary lib2to3.fixes.fix_unicode._mapping = {"unichr" : "chr", "unicode" : "str"}

Definition at line 9 of file fix_unicode.py.