mirror of
https://github.com/python/cpython.git
synced 2025-12-04 16:43:27 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue