[Python-checkins] cpython: - dictobject.c: Make dict_merge symbol a static symbol

matthias.klose python-checkins at python.org
Tue Oct 11 02:04:21 EDT 2016


https://hg.python.org/cpython/rev/42b56d8351ee
changeset:   104454:42b56d8351ee
user:        doko at ubuntu.com
date:        Tue Oct 11 08:04:02 2016 +0200
summary:
   - dictobject.c: Make dict_merge symbol a static symbol

files:
  Objects/dictobject.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Objects/dictobject.c b/Objects/dictobject.c
--- a/Objects/dictobject.c
+++ b/Objects/dictobject.c
@@ -2372,7 +2372,7 @@
     return Py_SAFE_DOWNCAST(i, Py_ssize_t, int);
 }
 
-int
+static int
 dict_merge(PyObject *a, PyObject *b, int override)
 {
     PyDictObject *mp, *other;

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


More information about the Python-checkins mailing list