Skip to content

Commit

Permalink
avoid numeric tower python/mypy#3186
Browse files Browse the repository at this point in the history
  • Loading branch information
wimglenn committed Jan 3, 2025
1 parent 28bd785 commit fc50880
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions aocd/types.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
from __future__ import annotations

from datetime import timedelta
from numbers import Number
from typing import Any
from typing import Literal
from typing import TypedDict
from typing import Union

AnswerValue = Union[str, Number]

AnswerValue = Any
"""The answer to a puzzle, either a string or a number. Numbers are coerced to a string"""
PuzzlePart = Literal["a", "b"]
"""The part of a given puzzle, a or b"""
Expand Down

0 comments on commit fc50880

Please sign in to comment.