bpo-30486: Make cell_set_contents() symbol private (#3668)
Don't export the cell_set_contents() symbol in the C API.
This commit is contained in:
parent
a6c0c06956
commit
0ad05c32cc
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue