aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/getargs.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-07-24 16:02:03 +0200
committerGitHub <noreply@github.com>2023-07-24 14:02:03 +0000
commitfd66baf34a73871c651326a41886240bf6f986d7 (patch)
treec59b1d1e1987f1c1b0c4e0a2831deebf0eab0870 /Python/getargs.c
parent0a9b339363a59be1249189c767ed6f46fd71e1c7 (diff)
downloadcpython-fd66baf34a73871c651326a41886240bf6f986d7.tar.gz
cpython-fd66baf34a73871c651326a41886240bf6f986d7.zip
gh-106320: Remove private _PyDict C API (#107145)
Move private _PyDict functions to the internal C API (pycore_dict.h): * _PyDict_Contains_KnownHash() * _PyDict_DebugMallocStats() * _PyDict_DelItemIf() * _PyDict_GetItemWithError() * _PyDict_HasOnlyStringKeys() * _PyDict_MaybeUntrack() * _PyDict_MergeEx() No longer export these functions.
Diffstat (limited to 'Python/getargs.c')
-rw-r--r--Python/getargs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/getargs.c b/Python/getargs.c
index 45befab4f8b..efcf2e333af 100644
--- a/Python/getargs.c
+++ b/Python/getargs.c
@@ -2,8 +2,9 @@
/* New getargs implementation */
#include "Python.h"
-#include "pycore_tuple.h" // _PyTuple_ITEMS()
+#include "pycore_dict.h" // _PyDict_HasOnlyStringKeys()
#include "pycore_pylifecycle.h" // _PyArg_Fini
+#include "pycore_tuple.h" // _PyTuple_ITEMS()
#include <ctype.h>
#include <float.h>