Skip to content
Snippets Groups Projects
Commit 0ccdcdaa authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

MNT: Import collections.abc, not collections

parent c95b050d
No related branches found
No related tags found
No related merge requests found
......@@ -86,7 +86,7 @@ import atexit
import logging
import functools
import threading
import collections
from collections import abc
try: import queue
except ImportError: import Queue as queue
......@@ -610,7 +610,7 @@ def wait(threads, task, *args, **kwargs):
direct = kwargs.pop('wait_direct', False)
if not isinstance(threads, collections.Sequence):
if not isinstance(threads, abc.Sequence):
threads = [threads]
haveWX = fslplatform.haveGui
......
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