commit | 0ad05c32cc41d4c21bfd78b9ffead519ead475a2 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Wed Sep 20 06:54:13 2017 -0700 |
committer | GitHub <noreply@github.com> | Wed Sep 20 06:54:13 2017 -0700 |
tree | 56b4c8a285e0a7af932520390905d852b0f38070 | |
parent | a6c0c0695614177c8b6e1840465375eefcfee586 [diff] [blame] |
bpo-30486: Make cell_set_contents() symbol private (#3668) Don't export the cell_set_contents() symbol in the C API.
diff --git a/Objects/cellobject.c b/Objects/cellobject.c index 8f16f07..af19229 100644 --- a/Objects/cellobject.c +++ b/Objects/cellobject.c
@@ -142,7 +142,7 @@ return op->ob_ref; } -int +static int cell_set_contents(PyCellObject *op, PyObject *obj) { Py_XINCREF(obj);