1
0
forked from VimPlug/jedi

Convert more things to Python 3 idioms

This commit is contained in:
Peter Law
2020-08-30 15:23:08 +01:00
parent 6ad62e18d2
commit 75624f0e3c
2 changed files with 25 additions and 22 deletions

View File

@@ -106,10 +106,7 @@ def dbg(message, *args, color='GREEN'):
debug_function(color, i + 'dbg: ' + message % tuple(repr(a) for a in args))
def warning(message, *args, **kwargs):
format = kwargs.pop('format', True)
assert not kwargs
def warning(message, *args, format=True):
if debug_function and enable_warning:
i = ' ' * _debug_indent
if format: