annotate stubs/numpy/__init__.pyi @ 2293:c070f46c0761

you can ask to apply empty patch and it will no-op
author drewp@bigasterisk.com
date Tue, 30 May 2023 00:59:20 -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: ...