aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/getargs.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-09-29 10:56:49 +0200
committerGitHub <noreply@github.com>2023-09-29 10:56:49 +0200
commit8b626a47bafdb2d1ebb1321e50ffa5d6c721bf3a (patch)
tree325fbb4507cac60718250226d1b7f7e1db559ef3 /Python/getargs.c
parentbfd94ab9e9f4055ecedaa500b46b0270da9ffe12 (diff)
downloadcpython-8b626a47bafdb2d1ebb1321e50ffa5d6c721bf3a.tar.gz
cpython-8b626a47bafdb2d1ebb1321e50ffa5d6c721bf3a.zip
gh-110079: Remove extern "C" { ...} in C code (#110080)
Diffstat (limited to 'Python/getargs.c')
-rw-r--r--Python/getargs.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/Python/getargs.c b/Python/getargs.c
index cbfe5611111..d590e2e1533 100644
--- a/Python/getargs.c
+++ b/Python/getargs.c
@@ -7,10 +7,6 @@
#include "pycore_pylifecycle.h" // _PyArg_Fini
#include "pycore_tuple.h" // _PyTuple_ITEMS()
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/* Export Stable ABIs (abi only) */
PyAPI_FUNC(int) _PyArg_Parse_SizeT(PyObject *, const char *, ...);
PyAPI_FUNC(int) _PyArg_ParseTuple_SizeT(PyObject *, const char *, ...);
@@ -2867,7 +2863,3 @@ _PyArg_Fini(void)
}
_PyRuntime.getargs.static_parsers = NULL;
}
-
-#ifdef __cplusplus
-};
-#endif