annotate stubs/numpy/__init__.pyi @ 2111:bd443e4bff0d

asco styling
author drewp@bigasterisk.com
date Thu, 02 Jun 2022 18:50:45 +0000
parents 88ca10c9e31a
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: ...