
import jedi.utils
jedi.utils.setup_readline()
del jedi
# Note: try not to do many things here, as it will contaminate global
# namespace of the interpreter.

import jedi.utils
from jedi import __version__ as __jedi_version__

print('REPL completion using Jedi %s' % __jedi_version__)
jedi.utils.setup_readline()

del jedi

# Note: try not to do many things here, as it will contaminate global
# namespace of the interpreter.

Print the Jedi version when REPL completion is used
Print the Jedi version when REPL completion is used

This also makes debugging easier, because people see which completion
they're actually using.

+ import jedi.utils
+ from jedi import __version__ as __jedi_version__
  
- import jedi.utils
+ print('REPL completion using Jedi %s' % __jedi_version__)
  jedi.utils.setup_readline()
+ 
  del jedi
+ 
  # Note: try not to do many things here, as it will contaminate global
  # namespace of the interpreter.
  
Print the Jedi version when REPL completion is used
## Code Before:

import jedi.utils
jedi.utils.setup_readline()
del jedi
# Note: try not to do many things here, as it will contaminate global
# namespace of the interpreter.

## Instruction:
Print the Jedi version when REPL completion is used
## Code After:
import jedi.utils
from jedi import __version__ as __jedi_version__

print('REPL completion using Jedi %s' % __jedi_version__)
jedi.utils.setup_readline()

del jedi

# Note: try not to do many things here, as it will contaminate global
# namespace of the interpreter.
