Mercurial > cpython-lru_cache-weakref
diff Include/stringobject.h @ 41876:dcb43f40390b
Add interning of unicode strings by copying the functionality from
stringobject.c.
Intern "True" and "False" in bool_repr() again as it was in the
8bit string era.
| author | Walter Dörwald <walter@livinglogic.de> |
|---|---|
| date | Fri, 25 May 2007 13:52:07 +0000 |
| parents | f2f0b41f270d |
| children | cd125fe83051 |
line wrap: on
line diff
--- a/Include/stringobject.h Thu May 24 22:05:19 2007 +0000 +++ b/Include/stringobject.h Fri May 25 13:52:07 2007 +0000 @@ -48,10 +48,6 @@ */ } PyStringObject; -#define SSTATE_NOT_INTERNED 0 -#define SSTATE_INTERNED_MORTAL 1 -#define SSTATE_INTERNED_IMMORTAL 2 - PyAPI_DATA(PyTypeObject) PyBaseString_Type; PyAPI_DATA(PyTypeObject) PyString_Type;
