From 435fd00f35de95c6f66d09bd18e1d5950af8bb05 Mon Sep 17 00:00:00 2001 From: Dos Moonen Date: Thu, 10 Sep 2026 14:10:13 +0200 Subject: [PATCH] Fix typo in parameter name for leaf_exceptions function --- peps/pep-0785.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.