[Python-checkins] cpython: Issue #14180: Fix another typo in kqueue_queue_control()

victor.stinner python-checkins at python.org
Tue Mar 13 16:25:44 CET 2012


http://hg.python.org/cpython/rev/cb1c877a27f2
changeset:   75593:cb1c877a27f2
user:        Victor Stinner <vstinner at wyplay.com>
date:        Tue Mar 13 16:25:35 2012 +0100
summary:
  Issue #14180: Fix another typo in kqueue_queue_control()

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


diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c
--- a/Modules/selectmodule.c
+++ b/Modules/selectmodule.c
@@ -1868,7 +1868,7 @@
                             "timeout must be positive or None");
             return NULL;
         }
-        ptimeoutspec = &timeoutspec;
+        ptimeoutspec = &timeout;
     }
     else {
         PyErr_Format(PyExc_TypeError,

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


More information about the Python-checkins mailing list