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.
1 parent e391124 commit 1b1dee4Copy full SHA for 1b1dee4
src/typing_extensions.py
@@ -3404,7 +3404,7 @@ class Employee(NamedTuple):
3404
if hasattr(collections.abc, "Buffer"):
3405
Buffer = collections.abc.Buffer
3406
else:
3407
- class Buffer(abc.ABC): # noqa: B024
+ class Buffer(metaclass=abc.ABCMeta): # noqa: B024
3408
"""Base class for classes that implement the buffer protocol.
3409
3410
The buffer protocol allows Python objects to expose a low-level
0 commit comments