Иногда я допускал ошибки в кодировании, когда список значений функции не совпадал. например,
Код: Выделить всё
def f():
return a1, a2, a3
a1, a2 = f()
Is there a way to access the return value of f() when the error is thrown (within the python session or from the debugger within the python session) so I don't need to rerun?
Thanks.
Источник: https://stackoverflow.com/questions/781 ... ck-happens