##// END OF EJS Templates
Show signature with Jedi....
Show signature with Jedi. When completion are function, jedi is capable of giving us the function signature. This adds a signature field to the (still unstable) completer API and make use of it in the IPython terminal UI. It is not (yet) exposed by the ipykernel. Additionally add typing to a couple of locations.

File last commit:

r23233:f12b788f
r23753:e8c3f90d
Show More
pycompat.rst
31 lines | 1.2 KiB | text/x-rst | RstLexer

Writing code for Python 2 and 3

IPython 6 requires Python 3, so our compatibility module IPython.utils.py3compat is deprecated. In most cases, we recommend you use the six module to support compatible code. This is widely used by other projects, so it is familiar to many developers and thoroughly battle-tested.

Our py3compat module provided some more specific unicode conversions than those offered by six. If you want to use these, copy them into your own code from IPython 5.x. Do not rely on importing them from IPython, as the module may be removed in the future.