Skip to content

Commit

Permalink
🐛 Use version switcher
Browse files Browse the repository at this point in the history
  • Loading branch information
EarlMilktea committed Sep 13, 2024
1 parent f260fd8 commit 85000e6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion graphix/channels.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

import copy
import itertools
import sys
import typing
from collections.abc import Sequence
from typing import TYPE_CHECKING, SupportsIndex

import numpy as np
Expand All @@ -14,6 +14,11 @@
from graphix import linalg_validations as lv
from graphix.ops import Ops

if sys.version_info >= (3, 9):
from collections.abc import Sequence
else:
from typing import Sequence

Check warning on line 20 in graphix/channels.py

View check run for this annotation

Codecov / codecov/patch

graphix/channels.py#L20

Added line #L20 was not covered by tests

if TYPE_CHECKING:
from collections.abc import Iterable

Check warning on line 23 in graphix/channels.py

View check run for this annotation

Codecov / codecov/patch

graphix/channels.py#L23

Added line #L23 was not covered by tests

Expand Down

0 comments on commit 85000e6

Please sign in to comment.