News

try: flaky_function() except (BigProblem, SmallProblem): ... With Python 3.14, you can simply list multiple exceptions separated by commas: try: flaky_function() except BigProblem, SmallProblem: ...