From 2fc3d6054467082dc0b672ba57578b947a77a454 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=AD=E4=B9=9D=E9=BC=8E?= <109224573@qq.com> Date: Thu, 23 Sep 2021 10:00:13 +0800 Subject: [PATCH] remove codenong.com --- source/c02/c02_23.md | 2 +- source/c02/c02_23.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/c02/c02_23.md b/source/c02/c02_23.md index b49369b..5fa5d56 100644 --- a/source/c02/c02_23.md +++ b/source/c02/c02_23.md @@ -9,7 +9,7 @@ import traceback traceback.print_stack(file=sys.stdout) ``` -或者直接使用 `where` (更简单的直接一个 `w`):https://www.codenong.com/1156023/ +或者直接使用 `where` (更简单的直接一个 `w`):https://stackoverflow.com/questions/1156023/print-current-call-stack-from-a-method-in-python-code ```python (Pdb) where diff --git a/source/c02/c02_23.rst b/source/c02/c02_23.rst index f716a41..3f9082b 100644 --- a/source/c02/c02_23.rst +++ b/source/c02/c02_23.rst @@ -11,7 +11,7 @@ traceback.print_stack(file=sys.stdout) 或者直接使用 ``where`` (更简单的直接一个 -``w``\ ):https://www.codenong.com/1156023/ +``w``\ ):https://stackoverflow.com/questions/1156023/print-current-call-stack-from-a-method-in-python-code .. code:: python