More unit tests
[codimension.git] / pythonparser-exp / unittest / docstring.py
blobbecafe73084d550398e108c41502658d3e04f955
2 """ Module multiline docstring
3 Second aligned string
5 """
7 def f():
8 " Single line single double-quote "
9 pass
11 def f():
12 ' Single line single single-quote '
13 pass
15 def f():
16 """ Single line three single-quote """
17 pass
19 def f():
20 ''' Single line three single-quote '''
21 pass
23 def f():
24 """No spaces in a single line"""
25 pass
27 def f():
28 """
29 Multiline 1
30 Multiline 2
31 """
32 pass
34 def f():
35 '''
36 Multiline 1-2
37 ^^^ digits
38 '''
39 pass
41 def f():
42 class C:
43 ''' Nested class docstring
44 Second line '''
45 def __init__( self ):
46 """No space in first line
47 second line
49 third line"""
50 pass