mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-09 23:34:45 +08:00
renaming first steps
This commit is contained in:
4
debug.py
4
debug.py
@@ -14,7 +14,6 @@ WARNING = object()
|
||||
ERROR = object()
|
||||
|
||||
debug_function = None
|
||||
#debug_function = print_to_stdout
|
||||
ignored_modules = ['parsing', 'builtin']
|
||||
|
||||
|
||||
@@ -41,3 +40,6 @@ def print_to_stdout(level, *args):
|
||||
""" The default debug function """
|
||||
msg = (Fore.GREEN + 'dbg: ' if level == NOTICE else Fore.RED + 'warning: ')
|
||||
print(msg + ', '.join(str(a) for a in args) + Fore.RESET)
|
||||
|
||||
|
||||
#debug_function = print_to_stdout
|
||||
|
||||
Reference in New Issue
Block a user