Mercurial > cpython-lru_cache-weakref
comparison Python/pythonrun.c @ 15963:cf17a3ce5387 legacy-trunk
Get rid of the initialization of _PyCompareState_Key.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Wed, 17 Jan 2001 21:27:36 +0000 |
| parents | 0a77013c50ac |
| children | 713ed6c6bcb5 |
comparison
equal
deleted
inserted
replaced
| 15962:f1751abf771f | 15963:cf17a3ce5387 |
|---|---|
| 121 /* Init codec registry */ | 121 /* Init codec registry */ |
| 122 _PyCodecRegistry_Init(); | 122 _PyCodecRegistry_Init(); |
| 123 | 123 |
| 124 /* Init Unicode implementation; relies on the codec registry */ | 124 /* Init Unicode implementation; relies on the codec registry */ |
| 125 _PyUnicode_Init(); | 125 _PyUnicode_Init(); |
| 126 | |
| 127 _PyCompareState_Key = PyString_InternFromString("cmp_state"); | |
| 128 | 126 |
| 129 bimod = _PyBuiltin_Init(); | 127 bimod = _PyBuiltin_Init(); |
| 130 if (bimod == NULL) | 128 if (bimod == NULL) |
| 131 Py_FatalError("Py_Initialize: can't initialize __builtin__"); | 129 Py_FatalError("Py_Initialize: can't initialize __builtin__"); |
| 132 interp->builtins = PyModule_GetDict(bimod); | 130 interp->builtins = PyModule_GetDict(bimod); |
