We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c79af59 + e59f132 commit 8f5351cCopy full SHA for 8f5351c
numpy/random/_common.pyi
@@ -0,0 +1,16 @@
1
+from collections.abc import Callable
2
+from typing import Any, NamedTuple, TypeAlias
3
+
4
+import numpy as np
5
6
+__all__: list[str] = ["interface"]
7
8
+_CDataVoidPointer: TypeAlias = Any
9
10
+class interface(NamedTuple):
11
+ state_address: int
12
+ state: _CDataVoidPointer
13
+ next_uint64: Callable[..., np.uint64]
14
+ next_uint32: Callable[..., np.uint32]
15
+ next_double: Callable[..., np.float64]
16
+ bit_generator: _CDataVoidPointer
numpy/random/meson.build
@@ -101,6 +101,7 @@ py.install_sources(
101
'__init__.pyi',
102
'_bounded_integers.pyi',
103
'_common.pxd',
104
+ '_common.pyi',
105
'_generator.pyi',
106
'_mt19937.pyi',
107
'_pcg64.pyi',
0 commit comments