瀏覽代碼

[python] i get it now :-)

Dan Korostelev 10 年之前
父節點
當前提交
9d9ab4a8a1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      std/python/lib/Select.hx

+ 1 - 1
std/python/lib/Select.hx

@@ -28,5 +28,5 @@ private typedef Selectable = haxe.extern.EitherType<Int,{function fileno():Int;}
 
 
 @:pythonImport("select")
 @:pythonImport("select")
 extern class Select {
 extern class Select {
-    static function select(rlist:Array<Selectable>, wlist:Array<Selectable>, xlist:Array<Selectable>, ?timeout:Float):Tuple3<Array<Selectable>,Array<Selectable>,Array<Selectable>>;
+    static function select<T>(rlist:Array<T>, wlist:Array<T>, xlist:Array<T>, ?timeout:Float):Tuple3<Array<T>,Array<T>,Array<T>>;
 }
 }