From 0ad05c32cc41d4c21bfd78b9ffead519ead475a2 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 20 Sep 2017 06:54:13 -0700 Subject: bpo-30486: Make cell_set_contents() symbol private (#3668) Don't export the cell_set_contents() symbol in the C API. --- Objects/cellobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ cell_get_contents(PyCellObject *op, void *closure) return op->ob_ref; } -int +static int cell_set_contents(PyCellObject *op, PyObject *obj) { Py_XINCREF(obj); -- cgit v0.12