PyDocs

Nav

Python Runtime Services

BaseExceptionGroup.subgroup

builtins

method of BaseExceptionGroup · Added in 3.13
  • BaseExceptionGroup.subgroup(condition)
Returns an exception group that contains only the exceptions from the current group that match condition, or None if the result is empty.
0 Examples
No examples for builtins/BaseExceptionGroup.subgroup.
See Also
No see-alsos for builtins/BaseExceptionGroup.subgroup
0 Notes
No notes for BaseExceptionGroup.subgroup