diff Include/pythonrun.h @ 35297:26bf6c27e9ce legacy-trunk

* Improve code for the empty frozenset singleton: - Handle both frozenset() and frozenset([]). - Do not use singleton for frozenset subclasses. - Finalize the singleton. - Add test cases. * Factor-out set_update_internal() from set_update(). Simplifies the code for several internal callers. * Factor constant expressions out of loop in set_merge_internal(). * Minor comment touch-ups.
author Raymond Hettinger <python@rcn.com>
date Mon, 01 Aug 2005 21:39:29 +0000
parents 1dd8a0d64432
children 1c4d192f1568
line wrap: on
line diff
--- a/Include/pythonrun.h	Mon Aug 01 05:26:41 2005 +0000
+++ b/Include/pythonrun.h	Mon Aug 01 21:39:29 2005 +0000
@@ -115,6 +115,7 @@
 PyAPI_FUNC(void) PyCFunction_Fini(void);
 PyAPI_FUNC(void) PyTuple_Fini(void);
 PyAPI_FUNC(void) PyList_Fini(void);
+PyAPI_FUNC(void) PySet_Fini(void);
 PyAPI_FUNC(void) PyString_Fini(void);
 PyAPI_FUNC(void) PyInt_Fini(void);
 PyAPI_FUNC(void) PyFloat_Fini(void);