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

Method visit_Return

mypy/fastparse.py:1256–1258  ·  view source on GitHub ↗
(self, n: ast3.Return)

Source from the content-addressed store, hash-verified

1254
1255 # Return(expr? value)
1256 def visit_Return(self, n: ast3.Return) -> ReturnStmt:
1257 node = ReturnStmt(self.visit(n.value))
1258 return self.set_line(node, n)
1259
1260 # Delete(expr* targets)
1261 def visit_Delete(self, n: ast3.Delete) -> DelStmt:

Callers

nothing calls this directly

Calls 3

visitMethod · 0.95
set_lineMethod · 0.95
ReturnStmtClass · 0.90

Tested by

no test coverage detected