annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1871
4ce991cdacdb more stubs
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
1 # Stubs for numpy (Python 3)
4ce991cdacdb more stubs
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
2 #
4ce991cdacdb more stubs
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
3
4ce991cdacdb more stubs
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
4 from typing import Any
4ce991cdacdb more stubs
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
5 array: Any
4ce991cdacdb more stubs
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
6 linalg: Any
1949
88ca10c9e31a hack up stubs to pass mypy. they're very weak right now
Drew Perttula <drewp@bigasterisk.com>
parents: 1871
diff changeset
7
88ca10c9e31a hack up stubs to pass mypy. they're very weak right now
Drew Perttula <drewp@bigasterisk.com>
parents: 1871
diff changeset
8 def asarray(a: Any) -> array: ...