Skip to content

Commit

Permalink
Fix lint apache#1
Browse files Browse the repository at this point in the history
  • Loading branch information
Krzysztof Parzyszek committed Aug 4, 2023
1 parent 5502502 commit fd6b7ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/tvm/script/parser/core/doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,7 @@ def subscript_from_doc(x: doc.Subscript) -> ast.Subscript:
ctx=from_doc(x.ctx),
)
elif isinstance(x.slice, doc.Tuple):

def remap_dim(doc_item: doc.Expr) -> ast.Expr:
ast_item = from_doc(doc_item)
if isinstance(ast_item, (ast.Index, ast.Slice)):
Expand Down

0 comments on commit fd6b7ac

Please sign in to comment.