diff Modules/selectmodule.c @ 50866:8325eb041921 3.0

Merged revisions 68675 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r68675 | mark.dickinson | 2009-01-17 21:57:11 +0000 (Sat, 17 Jan 2009) | 2 lines Replace PyNumber_Int with PyNumber_Long. ........
author Mark Dickinson <dickinsm@gmail.com>
date Sun, 18 Jan 2009 11:01:50 +0000
parents 1d5c3bcf35ad
children 87fbbf22adf3
line wrap: on
line diff
--- a/Modules/selectmodule.c	Sun Jan 18 03:31:52 2009 +0000
+++ b/Modules/selectmodule.c	Sun Jan 18 11:01:50 2009 +0000
@@ -515,7 +515,7 @@
 		return NULL;
 	}
 	else {
-		tout = PyNumber_Int(tout);
+		tout = PyNumber_Long(tout);
 		if (!tout)
 			return NULL;
 		timeout = PyLong_AsLong(tout);