diff options
| author | Guido van Rossum <guido@python.org> | 2007-05-03 17:18:26 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 2007-05-03 17:18:26 +0000 |
| commit | 84fc66dd020931c14be8b13fcbdb9a8f295141c9 (patch) | |
| tree | 989d036b1f6f9297d475a166179ec92ff3c7aad9 /Lib/sre_parse.py | |
| parent | ef87d6ed94780fe00250a551031023aeb2898365 (diff) | |
| download | cpython-git-84fc66dd020931c14be8b13fcbdb9a8f295141c9.tar.gz | |
Rename 'unicode' to 'str' in its tp_name field. Rename 'str' to 'str8'.
Change all occurrences of unichr to chr.
Diffstat (limited to 'Lib/sre_parse.py')
| -rw-r--r-- | Lib/sre_parse.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sre_parse.py b/Lib/sre_parse.py index 49dc080ed4..d53d37cf75 100644 --- a/Lib/sre_parse.py +++ b/Lib/sre_parse.py @@ -712,7 +712,7 @@ def parse_template(source, pattern): if type(sep) is type(""): makechar = chr else: - makechar = unichr + makechar = chr while 1: this = sget() if this is None: |
