commit | 84fc66dd020931c14be8b13fcbdb9a8f295141c9 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu May 03 17:18:26 2007 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu May 03 17:18:26 2007 +0000 |
tree | 989d036b1f6f9297d475a166179ec92ff3c7aad9 | |
parent | ef87d6ed94780fe00250a551031023aeb2898365 [diff] [blame] |
Rename 'unicode' to 'str' in its tp_name field. Rename 'str' to 'str8'. Change all occurrences of unichr to chr.
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index e2f1b2f..d4a7e7e 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c
@@ -7954,7 +7954,7 @@ PyTypeObject PyUnicode_Type = { PyObject_HEAD_INIT(&PyType_Type) 0, /* ob_size */ - "unicode", /* tp_name */ + "str", /* tp_name */ sizeof(PyUnicodeObject), /* tp_size */ 0, /* tp_itemsize */ /* Slots */