1
0
forked from VimPlug/jedi

Remove is_py3 and is_py35

This commit is contained in:
Dave Halter
2020-07-02 02:22:09 +02:00
parent 17343bb57c
commit 0cd6a8f5cc
5 changed files with 15 additions and 38 deletions

View File

@@ -2,7 +2,7 @@ import os
import time
from contextlib import contextmanager
from jedi._compatibility import encoding, is_py3, u
from jedi._compatibility import u
_inited = False
@@ -135,9 +135,4 @@ def print_to_stdout(color, str_out):
"""
col = getattr(Fore, color)
_lazy_colorama_init()
if not is_py3:
str_out = str_out.encode(encoding, 'replace')
print(col + str_out + Fore.RESET)
# debug_function = print_to_stdout