X Tutup
Skip to content

Commit 0ad05c3

Browse files
authored
bpo-30486: Make cell_set_contents() symbol private (python#3668)
Don't export the cell_set_contents() symbol in the C API.
1 parent a6c0c06 commit 0ad05c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/cellobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ cell_get_contents(PyCellObject *op, void *closure)
142142
return op->ob_ref;
143143
}
144144

145-
int
145+
static int
146146
cell_set_contents(PyCellObject *op, PyObject *obj)
147147
{
148148
Py_XINCREF(obj);

0 commit comments

Comments
 (0)
X Tutup