[Python-checkins] cpython: Minor code clean-up. Keep the C-API all in one section.

raymond.hettinger python-checkins at python.org
Sun Dec 15 20:56:21 CET 2013


http://hg.python.org/cpython/rev/24058a1eb022
changeset:   87967:24058a1eb022
user:        Raymond Hettinger <python at rcn.com>
date:        Sun Dec 15 11:56:14 2013 -0800
summary:
  Minor code clean-up.  Keep the C-API all in one section.

files:
  Objects/setobject.c |  6 +++---
  1 files changed, 3 insertions(+), 3 deletions(-)


diff --git a/Objects/setobject.c b/Objects/setobject.c
--- a/Objects/setobject.c
+++ b/Objects/setobject.c
@@ -36,9 +36,6 @@
 
 #define dummy (&_dummy_struct)
 
-/* Exported for the gdb plugin's benefit. */
-PyObject *_PySet_Dummy = dummy;
-
 
 /* ======================================================================== */
 /* ======= Begin logic for probing the hash table ========================= */
@@ -2345,6 +2342,9 @@
     return set_update_internal((PySetObject *)set, iterable);
 }
 
+/* Exported for the gdb plugin's benefit. */
+PyObject *_PySet_Dummy = dummy;
+
 #ifdef Py_DEBUG
 
 /* Test code to be called with any three element set.

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list