Skip to content

Commit

Permalink
ENH: Fix typing
Browse files Browse the repository at this point in the history
Correct specific typing and general typing
  • Loading branch information
bashtage committed Feb 15, 2021
1 parent cc5fa7e commit d7c000a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions numpy/random/bit_generator.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,15 @@ class SeedlessSeedSequence(ISpawnableSeedSequence):

class SeedSequence(ISpawnableSeedSequence):
entropy: Union[None, int, Sequence[int]]
spawn_key: Sequence[int]
spawn_key: Tuple[int, ...]
pool_size: int
n_children_spawned: int
pool: ndarray[Any, dtype[uint32]]
def __init__(
self,
entropy: Union[None, int, Sequence[int]] = ...,
*,
spawn_key: Tuple[int, ...] = ...,
spawn_key: Sequence[int] = ...,
pool_size: int = ...,
n_children_spawned: int = ...,
) -> None: ...
Expand Down

0 comments on commit d7c000a

Please sign in to comment.