We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc8170b commit b9b2c97Copy full SHA for b9b2c97
Doc/whatsnew/3.14.rst
@@ -194,6 +194,12 @@ Other language changes
194
:mod:`copyable <copy>`.
195
(Contributed by Serhiy Storchaka in :gh:`125767`.)
196
197
+* Add the :meth:`~BaseException.subgroup` and :meth:`~BaseException.split`
198
+ methods for matching and splitting leaf exceptions respectively. This is
199
+ roughly equivalent to wrapping the exception in an exception group and
200
+ calling the :exc:`BaseExceptionGroup` homonymous methods.
201
+ (Contributed by Bénédikt Tran in :gh:`125825`.)
202
+
203
204
New modules
205
===========
0 commit comments