Browse Source

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

Don't export the cell_set_contents() symbol in the C API.
pull/3336/merge
Victor Stinner 8 years ago
committed by GitHub
parent
commit
0ad05c32cc
  1. 2
      Objects/cellobject.c

2
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);

Loading…
Cancel
Save