Skip to content

Commit e67da67

Browse files
committed
Add Comment for TryStar Annotation
1 parent 935a960 commit e67da67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RestrictedPython/transformer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1155,7 +1155,7 @@ def visit_Try(self, node: ast.Try) -> ast.AST:
11551155
def visit_TryStar(self, node: ast.AST) -> ast.AST:
11561156
"""Disallow `ExceptionGroup` due to a potential sandbox escape.
11571157
1158-
TODO: Type Annotation for node when dropping support
1158+
TODO: Type Annotation for node when dropping support
11591159
for Python < 3.11 should be ast.TryStar.
11601160
"""
11611161
self.not_allowed(node)

0 commit comments

Comments
 (0)