🌐 AI搜索 & 代理 主页
Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ast.expr is not str
  • Loading branch information
erlend-aasland committed Jul 3, 2023
commit 0480ed29566eb907833482b39717138a0ae12166
1 change: 0 additions & 1 deletion Tools/clinic/clinic.py
Original file line number Diff line number Diff line change
Expand Up @@ -5031,7 +5031,6 @@ def parse_converter(annotation: ast.expr | None) -> tuple[str, bool, KwargDict]:
case ast.Name(name):
return name, False, {}
case ast.Call(func=ast.Name(name)):
assert isinstance(ast.expr, str)
symbols = globals()
kwargs = {
node.arg: eval_ast_expr(node.value, symbols)
Expand Down