mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
gh-98284: better error message for undefined abstractmethod (#97971)
This commit is contained in:
parent
b5f711185b
commit
67ade403a2
6 changed files with 23 additions and 19 deletions
|
@ -0,0 +1,3 @@
|
|||
Improved :class:`TypeError` message for undefined abstract methods of a
|
||||
:class:`abc.ABC` instance. The names of the missing methods are surrounded
|
||||
by single-quotes to highlight them.
|
Loading…
Add table
Add a link
Reference in a new issue