summaryrefslogtreecommitdiffstats
path: root/Include/internal/pycore_setobject.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-08-24 15:40:56 (GMT)
committerGitHub <noreply@github.com>2023-08-24 15:40:56 (GMT)
commitf1ae706ca53d43890cf09ccf052d783e97ba4b28 (patch)
treed4f8bdd2462bd3091674c068f53ef456e368d2a2 /Include/internal/pycore_setobject.h
parent52c6a6e48a5fa12af401810722cfcad859e9881a (diff)
downloadcpython-f1ae706ca53d43890cf09ccf052d783e97ba4b28.zip
cpython-f1ae706ca53d43890cf09ccf052d783e97ba4b28.tar.gz
cpython-f1ae706ca53d43890cf09ccf052d783e97ba4b28.tar.bz2
gh-107211: No longer export internal functions (7) (#108425)
No longer export _PyUnicode_FromId() internal C API function. Change comment style to "// comment" and add comment explaining why other functions have to be exported. Update Tools/build/generate_token.py to update Include/internal/pycore_token.h comments.
Diffstat (limited to 'Include/internal/pycore_setobject.h')
-rw-r--r--Include/internal/pycore_setobject.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Include/internal/pycore_setobject.h b/Include/internal/pycore_setobject.h
index 1b63479..34a00e6 100644
--- a/Include/internal/pycore_setobject.h
+++ b/Include/internal/pycore_setobject.h
@@ -8,17 +8,17 @@ extern "C" {
# error "this header requires Py_BUILD_CORE define"
#endif
-// Export for 'pickle' shared extension
+// Export for '_pickle' shared extension
PyAPI_FUNC(int) _PySet_NextEntry(
PyObject *set,
Py_ssize_t *pos,
PyObject **key,
Py_hash_t *hash);
-// Export for 'pickle' shared extension
+// Export for '_pickle' shared extension
PyAPI_FUNC(int) _PySet_Update(PyObject *set, PyObject *iterable);
-// Export _PySet_Dummy for the gdb plugin's benefit
+// Export for the gdb plugin's (python-gdb.py) benefit
PyAPI_DATA(PyObject *) _PySet_Dummy;
#ifdef __cplusplus