|
@@ -1,5 +1,5 @@
|
|
/*
|
|
/*
|
|
- * Copyright (C)2005-2012 Haxe Foundation
|
|
|
|
|
|
+ * Copyright (C)2005-2015 Haxe Foundation
|
|
*
|
|
*
|
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
|
* copy of this software and associated documentation files (the "Software"),
|
|
* copy of this software and associated documentation files (the "Software"),
|
|
@@ -19,13 +19,13 @@
|
|
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
* DEALINGS IN THE SOFTWARE.
|
|
* DEALINGS IN THE SOFTWARE.
|
|
*/
|
|
*/
|
|
-package python.lib;
|
|
|
|
|
|
+package python;
|
|
|
|
|
|
|
|
|
|
@:native("BaseException")
|
|
@:native("BaseException")
|
|
extern class BaseException
|
|
extern class BaseException
|
|
{
|
|
{
|
|
- public function new (msg:String):Void;
|
|
|
|
|
|
+ function new(args:haxe.Rest<Dynamic>):Void;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
@@ -63,7 +63,7 @@ extern class SyntaxError extends Exception
|
|
@:native("StopIteration")
|
|
@:native("StopIteration")
|
|
extern class StopIteration extends Exception
|
|
extern class StopIteration extends Exception
|
|
{
|
|
{
|
|
- public function new (?message:String);
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
|
|
@:native("RuntimeError")
|
|
@:native("RuntimeError")
|
|
@@ -372,4 +372,4 @@ extern class BytesWarning extends Warning
|
|
extern class ResourceWarning extends Warning
|
|
extern class ResourceWarning extends Warning
|
|
{
|
|
{
|
|
|
|
|
|
-}
|
|
|
|
|
|
+}
|