diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-06-27 16:30:28 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-06-27 16:30:28 +0200 |
commit | 10984d2b5c4ac81629754631f9aedd74cf353a8e (patch) | |
tree | eee6b6d8e76bd162eca9c67ce5c9a72c034472d0 | |
parent | 450ca92a2e67f4d81e7ba012e300f750802a02cd (diff) |
simdata: update MutableMapping location
It was moved to collections.abc
-rw-r--r-- | simdata.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,7 +3,7 @@ This module provides a wrapper around a Cactus simulation output, i.e. a directo """ import os -import collections +from collections.abc import MutableMapping from . import datafile @@ -74,7 +74,7 @@ class _RefinementLevel(object): def slice(self, iteration = -1, time = -1): return _RefinedSlice(self._sd, self, time, iteration) -class _DataDir(collections.MutableMapping): +class _DataDir(MutableMapping): _files = None _paths = None |