summaryrefslogtreecommitdiffstats
path: root/Include/cpython/tupleobject.h
diff options
context:
space:
mode:
authorSkip Montanaro <skip.montanaro@gmail.com>2020-06-01 18:35:56 (GMT)
committerGitHub <noreply@github.com>2020-06-01 18:35:56 (GMT)
commitb4d5a5cca29426a282e8f1e64b2271fdd1f0a23e (patch)
treed5557646d6c9b88a44b1459000cdf30d219907c2 /Include/cpython/tupleobject.h
parentcbe129692293251e7fbcea9ff0d822824d90c140 (diff)
downloadcpython-b4d5a5cca29426a282e8f1e64b2271fdd1f0a23e.zip
cpython-b4d5a5cca29426a282e8f1e64b2271fdd1f0a23e.tar.gz
cpython-b4d5a5cca29426a282e8f1e64b2271fdd1f0a23e.tar.bz2
bpo-39583: Remove superfluous "extern C" bits from Include/cpython/*.h (GH-18413)
Diffstat (limited to 'Include/cpython/tupleobject.h')
-rw-r--r--Include/cpython/tupleobject.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/Include/cpython/tupleobject.h b/Include/cpython/tupleobject.h
index 1565f2a..51dcd42 100644
--- a/Include/cpython/tupleobject.h
+++ b/Include/cpython/tupleobject.h
@@ -2,10 +2,6 @@
# error "this header file must not be included directly"
#endif
-#ifdef __cplusplus
-extern "C" {
-#endif
-
typedef struct {
PyObject_VAR_HEAD
/* ob_item contains space for 'ob_size' elements.
@@ -30,7 +26,3 @@ PyAPI_FUNC(void) _PyTuple_MaybeUntrack(PyObject *);
#define PyTuple_SET_ITEM(op, i, v) (_PyTuple_CAST(op)->ob_item[i] = v)
PyAPI_FUNC(void) _PyTuple_DebugMallocStats(FILE *out);
-
-#ifdef __cplusplus
-}
-#endif