Skip to content

Commit

Permalink
bug: py38 support use typing.Collection over collections.abc.Collection
Browse files Browse the repository at this point in the history
  • Loading branch information
aaraney committed Jan 23, 2024
1 parent 1f2faac commit cdcffbd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/lib/core/dmod/core/common/collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@
"""
import typing

from collections.abc import Collection
from typing import Iterator

_T = typing.TypeVar("_T")


class Bag(Collection[_T]):
class Bag(typing.Collection[_T]):
"""
A wrapper collection that hides functions/elements that treat the contents as anything other than an abstract
collection
Expand Down

0 comments on commit cdcffbd

Please sign in to comment.