Skip to content

Commit 51829e3

Browse files
hugovkAA-Turner
andauthored
Fix return type
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
1 parent 0e5cb84 commit 51829e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_tools/generate_release_cycle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def parse_version(ver: str) -> list[int]:
4141

4242

4343
@cache
44-
def get_versions() -> str:
44+
def get_versions() -> dict[str, dict[str, str | int]]:
4545
with urlopen("https://peps.python.org/api/release-cycle.json") as in_file:
4646
return json.loads(in_file.read().decode("utf-8"))
4747

0 commit comments

Comments
 (0)