We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Codec
abc.ABC
1 parent 98a14f3 commit 1bc1e44Copy full SHA for 1bc1e44
docs/release.rst
@@ -6,6 +6,16 @@ Release notes
6
# to document your changes. On releases it will be
7
# re-indented so that it does not show up in the notes.
8
9
+.. _release_0.12.1:
10
+
11
+0.12.1
12
+------
13
14
+Fix
15
+~~~
16
17
+* `Codec` is now derived from `abc.ABC`
18
+ By :user:`Mads R. B. Kristensen <madsbk>`, :issue:`472`.
19
20
.. _release_0.12.0:
21
numcodecs/abc.py
@@ -29,10 +29,10 @@
29
"""
30
31
32
-from abc import abstractmethod
+from abc import ABC, abstractmethod
33
34
35
-class Codec:
+class Codec(ABC):
36
"""Codec abstract base class."""
37
38
# override in sub-class
0 commit comments