diff --git a/docs/release.rst b/docs/release.rst index 680dd186..f19f2c2f 100644 --- a/docs/release.rst +++ b/docs/release.rst @@ -6,6 +6,16 @@ Release notes # to document your changes. On releases it will be # re-indented so that it does not show up in the notes. +.. _release_0.12.1: + +0.12.1 +------ + +Fix +~~~ + +* `Codec` is now derived from `abc.ABC` + By :user:`Mads R. B. Kristensen `, :issue:`472`. .. _release_0.12.0: diff --git a/numcodecs/abc.py b/numcodecs/abc.py index 4aa9c1a4..703ba037 100644 --- a/numcodecs/abc.py +++ b/numcodecs/abc.py @@ -29,10 +29,10 @@ """ -from abc import abstractmethod +from abc import ABC, abstractmethod -class Codec: +class Codec(ABC): """Codec abstract base class.""" # override in sub-class