From 788a01b4bddd79de8067345a99b6ce0da3605503 Mon Sep 17 00:00:00 2001 From: Christian Van Wambeke Date: Wed, 21 Mar 2018 10:26:23 +0100 Subject: [PATCH] best docstring src/debug.py --- src/debug.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/debug.py b/src/debug.py index a9444a9..e1ab251 100644 --- a/src/debug.py +++ b/src/debug.py @@ -38,10 +38,10 @@ to set no show message as production phase: to set show message temporary as development phase, only in a method: >> def aMethodToDebug(...): ->> DBG.push_debug(True) #force show as appended status ->> etc. method code with some DBG.write() ->> DBG.pop_debug(False) #restore previous status (show or not show) ->> return +>> DBG.push_debug(True) #force show as appended status +>> etc. method code with some DBG.write() +>> DBG.pop_debug() #restore previous status (show or not show) +>> return to set a message for future fix, as temporary problem to not forget: DBG.tofix("aTitle", aVariable, True/False) #True/False in production shown, or not -- 2.39.2