Debian Codegraph @

tests/extension/ref/lexer_ipython.txt

raw
1 test_project
2 b
3 test_project.bar
4 test_project
5 # split
6 # split
7 Test project
8 ============
9
10 .. code:: ipython
11
12 In [1]: %cd subdir
13 In [2]: import test_project
14 In [3]: b = test_project.bar()
15 In [4]: 2 + 2
16 Out[4]: 4
17 In [5]: class A:
18 ...: pass
19 In [6]:
20 In [7]: test_project
21 Out[7]:
22 multiline
23 msg
24 In [8]: "asd asd\n ...: this is output"
25 asd asd
26 ...: this is output
27 In [9]: 2 + 2
28 Out[9]:
29 asd asd
30 ...: this is output
31
32 .. automodule:: test_project