Skip to content

Commit

Permalink
Remove non-existent kwargs in ast.Call() call
Browse files Browse the repository at this point in the history
See https://docs.python.org/3.10/library/ast.html#abstract-grammar for a reference on the attributes `ast.Call` takes.

A future version of mypy will give a type error for this code (python/typeshed#11880).
  • Loading branch information
JelleZijlstra authored May 18, 2024
1 parent 1b73b44 commit fc2ff08
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/streamlit/runtime/scriptrunner/magic.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,6 @@ def _build_st_write_call(nodes):
),
args=nodes,
keywords=[],
kwargs=None,
starargs=None,
)


Expand Down

0 comments on commit fc2ff08

Please sign in to comment.