Skip to content

Commit a03b4db

Browse files
authored
PEP 785: Fix typo in parameter name for leaf_exceptions function (#5122)
1 parent 3b6032d commit a03b4db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

peps/pep-0785.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ A ``leaf_exceptions()`` helper function
197197
198198
199199
def leaf_exceptions(
200-
self: BaseExceptionGroup, *, fix_traceback: bool = True
200+
self: BaseExceptionGroup, *, fix_tracebacks: bool = True
201201
) -> list[BaseException]:
202202
"""
203203
Return a flat list of all 'leaf' exceptions.

0 commit comments

Comments
 (0)