summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2020-04-18 16:11:48 (GMT)
committerGitHub <noreply@github.com>2020-04-18 16:11:48 (GMT)
commitbfda4db0d2c05eef4e4ae90d899d0b67cb2e33e5 (patch)
treeeb56e770c258a8310aec4a2680ad06bf26da16a4 /Modules
parent904dd068fb6dc9a70f30dc46061e8b57d7797119 (diff)
downloadcpython-bfda4db0d2c05eef4e4ae90d899d0b67cb2e33e5.zip
cpython-bfda4db0d2c05eef4e4ae90d899d0b67cb2e33e5.tar.gz
cpython-bfda4db0d2c05eef4e4ae90d899d0b67cb2e33e5.tar.bz2
[3.8] bpo-40179: Fix translation of #elif in Argument Clinic (GH-19364) (GH-19583)
Co-authored-by: Ammar Askar <ammar@ammaraskar.com> (cherry picked from commit 12446e6a605f066d837d3a595d0a73e4f3b43b65)
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 c0d1d4d..09ecdb3 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)
@@ -8723,4 +8723,4 @@ exit:
#ifndef OS__REMOVE_DLL_DIRECTORY_METHODDEF
#define OS__REMOVE_DLL_DIRECTORY_METHODDEF
#endif /* !defined(OS__REMOVE_DLL_DIRECTORY_METHODDEF) */
-/*[clinic end generated code: output=1ded1fbc8fd37b27 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=edb5a840b51fcaa8 input=a9049054013a1b77]*/