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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
def a1():
"""Needs chaperone\\" """
def a2():
"""Needs chaperone\\\ """
def a3():
"""Needs chaperone" """
def a4():
"""Needs chaperone\ """
def a5():
"""Needs chaperone\\\\\ """
def a6():
"""Needs chaperone\"" """
def a7():
"""Doesn't need chaperone\""""
def a8():
"""Doesn't need chaperone\'"""
def a9():
"""Doesn't need chaperone\\\""""
def a10():
"""Doesn't need chaperone\\\'"""
def a11():
"""Doesn't need chaperone; all slashes escaped\\\\"""
def a12():
"""Doesn't need chaperone\\"""
def a12():
"""Doesn't need "chaperone" with contained quotes"""
def a13():
"""Doesn't need chaperone\\\"\"\""""
def a14():
"""Multiline docstring
doesn't need chaperone
"""
def a15():
"""Multiline docstring
doesn't need chaperone\
"""
def a16():
"""Multiline docstring with
odd number of backslashes don't need chaperone\\\
"""
def a17():
"""Multiline docstring with
even number of backslashes don't need chaperone\\\\
"""
def a18():
r"""Raw multiline docstring
doesn't need chaperone\
"""