diff options
Diffstat (limited to 'numpy/random/mtrand.pyi')
-rw-r--r-- | numpy/random/mtrand.pyi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/random/mtrand.pyi b/numpy/random/mtrand.pyi index c668e7edf..f05635390 100644 --- a/numpy/random/mtrand.pyi +++ b/numpy/random/mtrand.pyi @@ -229,7 +229,7 @@ class RandomState: dtype[uint64], Type[uint64], _UInt64Codes, _SupportsDType[dtype[uint64]] ] = ..., ) -> ndarray[Any, dtype[uint64]]: ... - def bytes(self, length: int) -> str: ... + def bytes(self, length: int) -> bytes: ... def choice( self, a: ArrayLike, |