allow Exception in code block (#3307)

This commit is contained in:
LawyZheng
2025-08-27 14:28:57 +08:00
committed by GitHub
parent 32dfa8da68
commit 17501da7cb

View File

@@ -1408,6 +1408,7 @@ class CodeBlock(Block):
"bool": bool,
"asyncio": asyncio,
"re": re,
"Exception": Exception,
}
def generate_async_user_function(