MCPcopy Index your code
hub / github.com/python/cpython / do_return

Method do_return

Lib/pdb.py:1935–1944  ·  view source on GitHub ↗

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

(self, arg)

Source from the content-addressed store, hash-verified

1933 do_restart = do_run
1934
1935 def do_return(self, arg):
1936 """r(eturn)
1937
1938 Continue execution until the current function returns.
1939 """
1940 if arg:
1941 self._print_invalid_arg(arg)
1942 return
1943 self.set_return(self.curframe)
1944 return 1
1945 do_r = do_return
1946
1947 def do_continue(self, arg):

Callers

nothing calls this directly

Calls 2

_print_invalid_argMethod · 0.95
set_returnMethod · 0.45

Tested by

no test coverage detected