diff options
author | Benjamin Peterson <benjamin@python.org> | 2016-09-08 18:28:06 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2016-09-08 18:28:06 (GMT) |
commit | 207116b84c24ab58f6f95df059474605b2b06fb2 (patch) | |
tree | 88be6202e530cd4a0c5ea7b3f8db2bd65c289e2c | |
parent | 940f33a50f3877cbde7adb59ba6e1a0a0acd3d11 (diff) | |
download | cpython-207116b84c24ab58f6f95df059474605b2b06fb2.zip cpython-207116b84c24ab58f6f95df059474605b2b06fb2.tar.gz cpython-207116b84c24ab58f6f95df059474605b2b06fb2.tar.bz2 |
use Py_MAX
-rw-r--r-- | Modules/posixmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 957a5f2..c1ba7ba 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -7550,7 +7550,7 @@ os_closerange_impl(PyObject *module, int fd_low, int fd_high) int i; Py_BEGIN_ALLOW_THREADS _Py_BEGIN_SUPPRESS_IPH - for (i = max(fd_low, 0); i < fd_high; i++) + for (i = Py_MAX(fd_low, 0); i < fd_high; i++) close(i); _Py_END_SUPPRESS_IPH Py_END_ALLOW_THREADS |