Skip to content

Commit

Permalink
Update imports for Python >=3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
mstimberg committed Jun 5, 2024
1 parent 58acf1d commit 6e07ee9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions brian2/core/functions.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import inspect
import types
from collections.abc import Mapping
from typing import Callable
from collections.abc import Callable, Mapping

import numpy as np
import sympy
Expand Down
2 changes: 1 addition & 1 deletion brian2/units/fundamentalunits.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import numbers
import operator
import sys
from typing import Callable
from collections.abc import Callable
from warnings import warn

import numpy as np
Expand Down

0 comments on commit 6e07ee9

Please sign in to comment.