Skip to content
Snippets Groups Projects

Fix deprecation warning: `collections.abc` instead of `abc`

Closed Stephan Seitz requested to merge seitz/pystencils:fix-deprecation-warning-abc into master
Compare and
2 files
+ 2
2
Preferences
Compare changes
Files
2
import numpy as np
from abc import ABC, abstractmethod
from collections.abc import ABC, abstractmethod
from typing import Optional, Callable, Sequence, Iterable, Tuple, Dict, Union
from pystencils.field import Field