diff options
author | Walter Dörwald <walter@livinglogic.de> | 2007-05-25 13:52:07 (GMT) |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2007-05-25 13:52:07 (GMT) |
commit | 1680713e524016d93a94114c4a874ad71a090b95 (patch) | |
tree | ef1f75a1a9748b50ab4a4e66d4c81662062546f7 /Include/stringobject.h | |
parent | 34a042d301d6ab88645046a6dfa6c38265ca4b39 (diff) | |
download | cpython-1680713e524016d93a94114c4a874ad71a090b95.zip cpython-1680713e524016d93a94114c4a874ad71a090b95.tar.gz cpython-1680713e524016d93a94114c4a874ad71a090b95.tar.bz2 |
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.
Diffstat (limited to 'Include/stringobject.h')
-rw-r--r-- | Include/stringobject.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Include/stringobject.h b/Include/stringobject.h index 8156193..2b8cc2f 100644 --- a/Include/stringobject.h +++ b/Include/stringobject.h @@ -48,10 +48,6 @@ typedef struct { */ } 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; |