diff options
author | Kaushik Kulkarni <15399010+kaushikcfd@users.noreply.github.com> | 2022-11-05 16:31:57 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-05 16:31:57 (GMT) |
commit | 67ade403a2dbbb41f270afd7000febadef85a27e (patch) | |
tree | 0439af43337dab78228536fcf06ad77344616a3d /Misc | |
parent | b5f711185bd11819566068ddf2a74a1402340e2d (diff) | |
download | cpython-67ade403a2dbbb41f270afd7000febadef85a27e.zip cpython-67ade403a2dbbb41f270afd7000febadef85a27e.tar.gz cpython-67ade403a2dbbb41f270afd7000febadef85a27e.tar.bz2 |
gh-98284: better error message for undefined abstractmethod (#97971)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2022-10-15-10-43-45.gh-issue-98284.SaVHTd.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-10-15-10-43-45.gh-issue-98284.SaVHTd.rst b/Misc/NEWS.d/next/Library/2022-10-15-10-43-45.gh-issue-98284.SaVHTd.rst new file mode 100644 index 0000000..ccabd42 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2022-10-15-10-43-45.gh-issue-98284.SaVHTd.rst @@ -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. |