https://github.com/python/cpython/commit/16acecd77924b849f51b36f41cd21ca759c9ff2a
commit: 16acecd77924b849f51b36f41cd21ca759c9ff2a
branch: main
author: Sam Gross <[email protected]>
committer: colesbury <[email protected]>
date: 2024-05-02T13:51:28-04:00
summary:
Remove stray `__cplusplus` guard in sysmodule.c (#118511)
files:
M Python/sysmodule.c
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index 726051521cf574..d3fbfcd3e79636 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -2496,10 +2496,6 @@ PyAPI_FUNC(int) PyUnstable_CopyPerfMapFile(const char*
parent_filename) {
return 0;
}
-#ifdef __cplusplus
-}
-#endif
-
static PyMethodDef sys_methods[] = {
/* Might as well keep this in alphabetic order */
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]