Skip to content

Commit 60f3d39

Browse files
Remove metaclass
1 parent 654ce28 commit 60f3d39

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/libsemigroups_pybind11/detail/cxx_wrapper.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414

1515
from functools import update_wrapper
1616

17-
import abc
18-
1917
from types import MethodType
2018
from typing import Any, Callable
2119
from typing_extensions import Self
@@ -58,7 +56,7 @@ def register_cxx_wrapped_type(cxx_type: pybind11_type, py_type: type) -> None:
5856
_CXX_WRAPPED_TYPE_TO_PY_TYPE[cxx_type] = py_type
5957

6058

61-
class CxxWrapper(metaclass=abc.ABCMeta):
59+
class CxxWrapper:
6260
# pylint: disable=missing-class-docstring
6361
# pylint: disable=protected-access, no-member
6462
def __init__(

0 commit comments

Comments
 (0)