aboutsummaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-11-18 20:14:34 +0100
committerAntoine Pitrou <solipsis@pitrou.net>2011-11-18 20:14:34 +0100
commitf34a0cdc6cbf6507508392e4588a9ca0ce8cb6b0 (patch)
treecfa9a741a50b0fdff952e849431d39043e80b5dd /Python
parent#13387: merge with 3.2. (diff)
downloadcpython-f34a0cdc6cbf6507508392e4588a9ca0ce8cb6b0.tar.gz
cpython-f34a0cdc6cbf6507508392e4588a9ca0ce8cb6b0.tar.bz2
cpython-f34a0cdc6cbf6507508392e4588a9ca0ce8cb6b0.zip
Issue #10227: Add an allocation cache for a single slice object.
Patch by Stefan Behnel.
Diffstat (limited to 'Python')
-rw-r--r--Python/pythonrun.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index 0f2f0501cde..0c267fc8326 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -531,6 +531,7 @@ Py_Finalize(void)
PyLong_Fini();
PyFloat_Fini();
PyDict_Fini();
+ PySlice_Fini();
/* Cleanup Unicode implementation */
_PyUnicode_Fini();