summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2020-04-18 14:52:48 (GMT)
committerGitHub <noreply@github.com>2020-04-18 14:52:48 (GMT)
commit12446e6a605f066d837d3a595d0a73e4f3b43b65 (patch)
tree37e77c25412fea6c90235bcca453d3a6225e00cb /Modules
parentfb940408cea1fb34fed1418832f240f886dadf57 (diff)
downloadcpython-12446e6a605f066d837d3a595d0a73e4f3b43b65.zip
cpython-12446e6a605f066d837d3a595d0a73e4f3b43b65.tar.gz
cpython-12446e6a605f066d837d3a595d0a73e4f3b43b65.tar.bz2
bpo-40179: Fix translation of #elif in Argument Clinic (GH-19364)
Co-authored-by: Ammar Askar <ammar@ammaraskar.com>
Diffstat (limited to 'Modules')
-rw-r--r--Modules/clinic/posixmodule.c.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/clinic/posixmodule.c.h b/Modules/clinic/posixmodule.c.h
index 8ff06fe..9465be9 100644
--- a/Modules/clinic/posixmodule.c.h
+++ b/Modules/clinic/posixmodule.c.h
@@ -3900,7 +3900,7 @@ exit:
#endif /* defined(HAVE_WAITPID) */
-#if defined(HAVE_CWAIT)
+#if !defined(HAVE_WAITPID) && defined(HAVE_CWAIT)
PyDoc_STRVAR(os_waitpid__doc__,
"waitpid($module, pid, options, /)\n"
@@ -3936,7 +3936,7 @@ exit:
return return_value;
}
-#endif /* defined(HAVE_CWAIT) */
+#endif /* !defined(HAVE_WAITPID) && defined(HAVE_CWAIT) */
#if defined(HAVE_WAIT)
@@ -8869,4 +8869,4 @@ exit:
#ifndef OS_WAITSTATUS_TO_EXITCODE_METHODDEF
#define OS_WAITSTATUS_TO_EXITCODE_METHODDEF
#endif /* !defined(OS_WAITSTATUS_TO_EXITCODE_METHODDEF) */
-/*[clinic end generated code: output=4e28994a729eddf9 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=ca63e471c11dc6e7 input=a9049054013a1b77]*/