Mercurial > cpython-lru_cache-weakref
diff Objects/unicodeobject.c @ 41585:825d966338ea
Rename 'unicode' to 'str' in its tp_name field. Rename 'str' to 'str8'.
Change all occurrences of unichr to chr.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Thu, 03 May 2007 17:18:26 +0000 |
| parents | 29ae667f3239 |
| children | 2c54763c4504 |
line wrap: on
line diff
--- a/Objects/unicodeobject.c Wed May 02 19:09:54 2007 +0000 +++ b/Objects/unicodeobject.c Thu May 03 17:18:26 2007 +0000 @@ -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 */
