annotate stubs/numpy/__init__.pyi @ 2328:d050b8efda9d

fix bug with uninitialized effect ,and prefer a dead effect over a graph reload
author drewp@bigasterisk.com
date Thu, 01 Jun 2023 18:42:36 -0700
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: ...