summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2013-12-15 19:56:14 (GMT)
committerRaymond Hettinger <python@rcn.com>2013-12-15 19:56:14 (GMT)
commite259f138749fea616f79ad99088d1ee1fe4cca4b (patch)
tree39505b56142de2892c09d228477201bf66eb75c2
parentb2a794d235afd5da70ea1bc1c7f28a8379440a5b (diff)
downloadcpython-e259f138749fea616f79ad99088d1ee1fe4cca4b.zip
cpython-e259f138749fea616f79ad99088d1ee1fe4cca4b.tar.gz
cpython-e259f138749fea616f79ad99088d1ee1fe4cca4b.tar.bz2
Minor code clean-up. Keep the C-API all in one section.
-rw-r--r--Objects/setobject.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Objects/setobject.c b/Objects/setobject.c
index adc99da..b0803f6 100644
--- a/Objects/setobject.c
+++ b/Objects/setobject.c
@@ -36,9 +36,6 @@ static PyObject _dummy_struct;
#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 @@ _PySet_Update(PyObject *set, PyObject *iterable)
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.