diff --git a/peps/pep-0785.rst b/peps/pep-0785.rst index 3e4052ab94c..ad29d18c632 100644 --- a/peps/pep-0785.rst +++ b/peps/pep-0785.rst @@ -197,7 +197,7 @@ A ``leaf_exceptions()`` helper function def leaf_exceptions( - self: BaseExceptionGroup, *, fix_traceback: bool = True + self: BaseExceptionGroup, *, fix_tracebacks: bool = True ) -> list[BaseException]: """ Return a flat list of all 'leaf' exceptions.