Skip to content

Commit 1509dac

Browse files
committed
Use older ABC definition style with metaclass
1 parent dddda32 commit 1509dac

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

jupyter_client/discovery.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
from abc import ABC, abstractmethod
1+
from abc import ABCMeta, abstractmethod
22
import entrypoints
33
import logging
4+
import six
45

56
from .kernelspec import KernelSpecManager
67
from .manager import KernelManager
78

89
log = logging.getLogger(__name__)
910

10-
class KernelFinderBase(ABC):
11+
class KernelFinderBase(six.with_metaclass(ABCMeta, object)):
1112
id = None # Should be a short string identifying the finder class.
1213

1314
@abstractmethod

0 commit comments

Comments
 (0)