1
0
forked from VimPlug/jedi

Small docs example code changes

This commit is contained in:
Dave Halter
2020-03-16 00:06:46 +01:00
parent 616e9bf275
commit 8efd111426

View File

@@ -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: