File: lexer_ipython.txt

package info (click to toggle)
python-sphinx-codeautolink 0.17.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 936 kB
  • sloc: python: 2,818; makefile: 4
file content (32 lines) | stat: -rw-r--r-- 508 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
test_project
b
test_project.bar
test_project
# split
# split
Test project
============

.. code:: ipython

   In [1]: %cd subdir
   In [2]: import test_project
   In [3]: b = test_project.bar()
   In [4]: 2 + 2
   Out[4]: 4
   In [5]: class A:
      ...:     pass
   In [6]: 
   In [7]: test_project
   Out[7]:
   multiline
   msg
   In [8]: "asd asd\n   ...: this is output"
   asd asd
      ...: this is output
   In [9]: 2 + 2
   Out[9]:
   asd asd
      ...: this is output

.. automodule:: test_project