diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2020-04-18 14:52:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-18 14:52:48 (GMT) |
commit | 12446e6a605f066d837d3a595d0a73e4f3b43b65 (patch) | |
tree | 37e77c25412fea6c90235bcca453d3a6225e00cb /Modules/clinic | |
parent | fb940408cea1fb34fed1418832f240f886dadf57 (diff) | |
download | cpython-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/clinic')
-rw-r--r-- | Modules/clinic/posixmodule.c.h | 6 |
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]*/ |