diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-09-20 13:54:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-20 13:54:13 (GMT) |
commit | 0ad05c32cc41d4c21bfd78b9ffead519ead475a2 (patch) | |
tree | 56b4c8a285e0a7af932520390905d852b0f38070 /Objects | |
parent | a6c0c0695614177c8b6e1840465375eefcfee586 (diff) | |
download | cpython-0ad05c32cc41d4c21bfd78b9ffead519ead475a2.zip cpython-0ad05c32cc41d4c21bfd78b9ffead519ead475a2.tar.gz cpython-0ad05c32cc41d4c21bfd78b9ffead519ead475a2.tar.bz2 |
bpo-30486: Make cell_set_contents() symbol private (#3668)
Don't export the cell_set_contents() symbol in the C API.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/cellobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/cellobject.c b/Objects/cellobject.c index 8f16f07..af19229 100644 --- a/Objects/cellobject.c +++ b/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); |