MCPcopy Index your code
hub / github.com/python/mypy / visit_Expr

Method visit_Expr

mypy/fastparse.py:1449–1452  ·  view source on GitHub ↗
(self, n: ast3.Expr)

Source from the content-addressed store, hash-verified

1447
1448 # Expr(expr value)
1449 def visit_Expr(self, n: ast3.Expr) -> ExpressionStmt:
1450 value = self.visit(n.value)
1451 node = ExpressionStmt(value)
1452 return self.set_line(node, n)
1453
1454 # Pass
1455 def visit_Pass(self, n: ast3.Pass) -> PassStmt:

Callers

nothing calls this directly

Calls 3

visitMethod · 0.95
set_lineMethod · 0.95
ExpressionStmtClass · 0.90

Tested by

no test coverage detected