diff stubs/numpy/__init__.pyi @ 1949:88ca10c9e31a

hack up stubs to pass mypy. they're very weak right now Ignore-this: f4c854346bc206725a1065079d8d158f
author Drew Perttula <drewp@bigasterisk.com>
date Thu, 06 Jun 2019 00:06:00 +0000
parents 4ce991cdacdb
children
line wrap: on
line diff
--- a/stubs/numpy/__init__.pyi	Thu Jun 06 00:05:50 2019 +0000
+++ b/stubs/numpy/__init__.pyi	Thu Jun 06 00:06:00 2019 +0000
@@ -4,3 +4,5 @@
 from typing import Any
 array: Any
 linalg: Any
+
+def asarray(a: Any) -> array: ...