Kaydet (Commit) 0ad05c32 authored tarafından Victor Stinner's avatar Victor Stinner Kaydeden (comit) GitHub

bpo-30486: Make cell_set_contents() symbol private (#3668)

Don't export the cell_set_contents() symbol in the C API.
üst a6c0c069
...@@ -142,7 +142,7 @@ cell_get_contents(PyCellObject *op, void *closure) ...@@ -142,7 +142,7 @@ cell_get_contents(PyCellObject *op, void *closure)
return op->ob_ref; return op->ob_ref;
} }
int static int
cell_set_contents(PyCellObject *op, PyObject *obj) cell_set_contents(PyCellObject *op, PyObject *obj)
{ {
Py_XINCREF(obj); Py_XINCREF(obj);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment