MCPcopy Index your code
hub / github.com/RustPython/RustPython / do_return

Method do_return

Lib/pdb.py:1044–1049  ·  view source on GitHub ↗

r(eturn) Continue execution until the current function returns.

(self, arg)

Source from the content-addressed store, hash-verified

1042 do_restart = do_run
1043
1044 def do_return(self, arg):
1045 """r(eturn)
1046 Continue execution until the current function returns.
1047 """
1048 self.set_return(self.curframe)
1049 return 1
1050 do_r = do_return
1051
1052 def do_continue(self, arg):

Callers

nothing calls this directly

Calls 1

set_returnMethod · 0.80

Tested by

no test coverage detected