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 0756cbc commit 0d2fd52Copy full SHA for 0d2fd52
docs/source/metaclasses.rst
@@ -90,7 +90,7 @@ so it's better not to combine metaclasses and class hierarchies:
90
For some builtin types, mypy assumes that their metaclass is :py:class:`abc.ABCMeta`
91
even if it's :py:class:`type`. In those cases, you can either
92
93
-* use :py:class:`abc.ABCMetaclass` instead of :py:class:`type` as the
+* use :py:class:`abc.ABCMeta` instead of :py:class:`type` as the
94
superclass of your metaclass if that works in your use case,
95
* mute the error with ``# type: ignore[metaclass]``, or
96
* compute the metaclass' superclass dynamically, which mypy doesn't understand
0 commit comments