summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2018-07-07 06:28:35 (GMT)
committerGitHub <noreply@github.com>2018-07-07 06:28:35 (GMT)
commit4629c0d531de6b41c9f72b51a44135e9ec634d06 (patch)
tree4ec05ae47894fad9c2bf935bec100c795c62145f /Modules
parentcb4bae72c965ce946e0fdb48db67c73afdcb5649 (diff)
downloadcpython-4629c0d531de6b41c9f72b51a44135e9ec634d06.zip
cpython-4629c0d531de6b41c9f72b51a44135e9ec634d06.tar.gz
cpython-4629c0d531de6b41c9f72b51a44135e9ec634d06.tar.bz2
Hide some symbols from _xxsubinterpreters. (GH-8151)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_xxsubinterpretersmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_xxsubinterpretersmodule.c b/Modules/_xxsubinterpretersmodule.c
index ce243fe..8567e4f 100644
--- a/Modules/_xxsubinterpretersmodule.c
+++ b/Modules/_xxsubinterpretersmodule.c
@@ -1201,7 +1201,7 @@ done:
PyThread_release_lock(channels->mutex);
}
-int64_t *
+static int64_t *
_channels_list_all(_channels *channels, int64_t *count)
{
int64_t *cids = NULL;
@@ -1545,7 +1545,7 @@ channelid_str(PyObject *self)
return PyUnicode_FromFormat("%" PRId64 "", cid->id);
}
-PyObject *
+static PyObject *
channelid_int(PyObject *self)
{
channelid *cid = (channelid *)self;