[Python-checkins] cpython (3.4): Fix the comment to not refer to the removed end_fd parameter.

gregory.p.smith python-checkins at python.org
Sun Jun 1 22:47:43 CEST 2014


http://hg.python.org/cpython/rev/2da7f0499440
changeset:   90949:2da7f0499440
branch:      3.4
parent:      90947:5453b9c59cd7
user:        Gregory P. Smith <greg at krypto.org>
date:        Sun Jun 01 13:46:36 2014 -0700
summary:
  Fix the comment to not refer to the removed end_fd parameter.

files:
  Modules/_posixsubprocess.c |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Modules/_posixsubprocess.c b/Modules/_posixsubprocess.c
--- a/Modules/_posixsubprocess.c
+++ b/Modules/_posixsubprocess.c
@@ -234,8 +234,8 @@
    char           d_name[256];  /* Filename (null-terminated) */
 };
 
-/* Close all open file descriptors in the range start_fd inclusive to end_fd
- * exclusive. Do not close any in the sorted py_fds_to_keep list.
+/* Close all open file descriptors in the range from start_fd and higher
+ * Do not close any in the sorted py_fds_to_keep list.
  *
  * This version is async signal safe as it does not make any unsafe C library
  * calls, malloc calls or handle any locks.  It is _unfortunate_ to be forced

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list