MCPcopy
hub / github.com/python/mypy / visit_Slice

Method visit_Slice

mypy/fastparse.py:2097–2098  ·  view source on GitHub ↗
(self, n: ast3.Slice)

Source from the content-addressed store, hash-verified

2095 )
2096
2097 def visit_Slice(self, n: ast3.Slice) -> Type:
2098 return self.invalid_type(n, note="did you mean to use ',' instead of ':' ?")
2099
2100 # Subscript(expr value, expr slice, expr_context ctx)
2101 def visit_Subscript(self, n: ast3.Subscript) -> Type:

Callers

nothing calls this directly

Calls 1

invalid_typeMethod · 0.95

Tested by

no test coverage detected