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 4d56e39 commit 935a960Copy full SHA for 935a960
src/RestrictedPython/transformer.py
@@ -1155,7 +1155,8 @@ def visit_Try(self, node: ast.Try) -> ast.AST:
1155
def visit_TryStar(self, node: ast.AST) -> ast.AST:
1156
"""Disallow `ExceptionGroup` due to a potential sandbox escape.
1157
1158
- TODO: Type Annotation for node when dropping support for Python < 3.11 should be ast.TryStar.
+ TODO: Type Annotation for node when dropping support
1159
+ for Python < 3.11 should be ast.TryStar.
1160
"""
1161
self.not_allowed(node)
1162
0 commit comments