Skip to content

Commit

Permalink
Import Self from typing_extensions instead of typing for compat…
Browse files Browse the repository at this point in the history
…ibility with Python 3.10
  • Loading branch information
byrdie committed Aug 1, 2023
1 parent 61417bb commit 1218dba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion optika/mixins.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from __future__ import annotations
from typing import Self, Generic, TypeVar, Iterator, Iterable, overload
from typing import Generic, TypeVar, Iterator, Iterable, overload
from typing_extensions import Self
import copy
import dataclasses

Expand Down

0 comments on commit 1218dba

Please sign in to comment.