Skip to content

Commit

Permalink
Clarify comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jayqi committed Mar 6, 2024
1 parent 5fcf0b9 commit 9f8a01d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sortedcontainers_pydantic.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
_T = TypeVar("_T")
_HashableT = TypeVar("_HashableT", bound=Hashable)

# sortedcontainers is not type annotated so we can't annotate its classes as generics in Python 3.8
# Need this hack until we don't support Python 3.8 anymore
# sortedcontainers is not type annotated directed so we need this hack to declare the parent
# classes as generics for Python 3.8.
# https://mypy.readthedocs.io/en/stable/runtime_troubles.html#using-classes-that-are-generic-in-stubs-but-not-at-runtime
if TYPE_CHECKING:

Expand Down

0 comments on commit 9f8a01d

Please sign in to comment.