forked from VimPlug/jedi
Small docs example code changes
This commit is contained in:
@@ -98,7 +98,8 @@ Type Inference / Goto
|
|||||||
.. sourcecode:: python
|
.. sourcecode:: python
|
||||||
|
|
||||||
>>> import jedi
|
>>> import jedi
|
||||||
>>> code = '''def my_func():
|
>>> code = '''\
|
||||||
|
... def my_func():
|
||||||
... print 'called'
|
... print 'called'
|
||||||
...
|
...
|
||||||
... alias = my_func
|
... alias = my_func
|
||||||
@@ -120,7 +121,8 @@ References
|
|||||||
.. sourcecode:: python
|
.. sourcecode:: python
|
||||||
|
|
||||||
>>> import jedi
|
>>> import jedi
|
||||||
>>> code = '''x = 3
|
>>> code = '''\
|
||||||
|
... x = 3
|
||||||
... if 1 == 2:
|
... if 1 == 2:
|
||||||
... x = 4
|
... x = 4
|
||||||
... else:
|
... else:
|
||||||
|
|||||||
Reference in New Issue
Block a user