mirror of
https://hub.njuu.cf/TheAlgorithms/Python.git
synced 2023-10-11 13:06:12 +08:00
[mypy] Add missing type annotation in conways_game_of_life.py (#5490)
This commit is contained in:
parent
57a7e5738b
commit
83a63d9c22
@ -70,7 +70,7 @@ def new_generation(cells: list[list[int]]) -> list[list[int]]:
|
|||||||
return next_generation
|
return next_generation
|
||||||
|
|
||||||
|
|
||||||
def generate_images(cells: list[list[int]], frames) -> list[Image.Image]:
|
def generate_images(cells: list[list[int]], frames: int) -> list[Image.Image]:
|
||||||
"""
|
"""
|
||||||
Generates a list of images of subsequent Game of Life states.
|
Generates a list of images of subsequent Game of Life states.
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user