Skip to content
Snippets Groups Projects
Commit 710b0711 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Merge branch 'collection-deprecation' into 'master'

tools: fix deprecation

See merge request inducer/sumpy!114
parents d346a6fa 454ca3f3
No related branches found
No related tags found
1 merge request!114tools: fix deprecation
Pipeline #18408 passed with warnings
......@@ -559,10 +559,13 @@ class MatrixBlockIndexRanges(object):
# Author: Raymond Hettinger
# License: MIT
import collections
try:
from collections.abc import MutableSet
except ImportError:
from collections import MutableSet
class OrderedSet(collections.MutableSet):
class OrderedSet(MutableSet):
def __init__(self, iterable=None):
self.end = end = []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment