Skip to content

Commit

Permalink
Migrate code to work in python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
kvkenyon committed Aug 16, 2024
1 parent a44ef04 commit 3e1c1ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shrimpgrad/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from __future__ import annotations
import ctypes
from dataclasses import dataclass
from typing import Optional, Type
from typing import Type
from shrimpgrad.dtype import ConstType, DType, to_numpy
from shrimpgrad.meta.singleton import Singleton
from shrimpgrad.view import ViewTracker
Expand Down
2 changes: 1 addition & 1 deletion shrimpgrad/symbolic.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from __future__ import annotations
from enum import Enum, auto
from typing import Optional, Tuple, TypeAlias
from typing import Optional, Tuple
from dataclasses import dataclass

@dataclass
Expand Down

0 comments on commit 3e1c1ed

Please sign in to comment.