]> git.madduck.net Git - etc/vim.git/blob - tests/data/simple_cases/docstring_preview.py

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Pickle raw tuples in FileData cache (#3877)
[etc/vim.git] / tests / data / simple_cases / docstring_preview.py
1 def docstring_almost_at_line_limit():
2     """long docstring.................................................................
3     """
4
5
6 def docstring_almost_at_line_limit_with_prefix():
7     f"""long docstring................................................................
8     """
9
10
11 def mulitline_docstring_almost_at_line_limit():
12     """long docstring.................................................................
13
14     ..................................................................................
15     """
16
17
18 def mulitline_docstring_almost_at_line_limit_with_prefix():
19     f"""long docstring................................................................
20
21     ..................................................................................
22     """
23
24
25 def docstring_at_line_limit():
26     """long docstring................................................................"""
27
28
29 def docstring_at_line_limit_with_prefix():
30     f"""long docstring..............................................................."""
31
32
33 def multiline_docstring_at_line_limit():
34     """first line-----------------------------------------------------------------------
35
36     second line----------------------------------------------------------------------"""
37
38
39 def multiline_docstring_at_line_limit_with_prefix():
40     f"""first line----------------------------------------------------------------------
41
42     second line----------------------------------------------------------------------"""
43
44
45 def single_quote_docstring_over_line_limit():
46     "We do not want to put the closing quote on a new line as that is invalid (see GH-3141)."
47
48
49 def single_quote_docstring_over_line_limit2():
50     'We do not want to put the closing quote on a new line as that is invalid (see GH-3141).'
51
52
53 # output
54
55
56 def docstring_almost_at_line_limit():
57     """long docstring................................................................."""
58
59
60 def docstring_almost_at_line_limit_with_prefix():
61     f"""long docstring................................................................"""
62
63
64 def mulitline_docstring_almost_at_line_limit():
65     """long docstring.................................................................
66
67     ..................................................................................
68     """
69
70
71 def mulitline_docstring_almost_at_line_limit_with_prefix():
72     f"""long docstring................................................................
73
74     ..................................................................................
75     """
76
77
78 def docstring_at_line_limit():
79     """long docstring................................................................"""
80
81
82 def docstring_at_line_limit_with_prefix():
83     f"""long docstring..............................................................."""
84
85
86 def multiline_docstring_at_line_limit():
87     """first line-----------------------------------------------------------------------
88
89     second line----------------------------------------------------------------------"""
90
91
92 def multiline_docstring_at_line_limit_with_prefix():
93     f"""first line----------------------------------------------------------------------
94
95     second line----------------------------------------------------------------------"""
96
97
98 def single_quote_docstring_over_line_limit():
99     "We do not want to put the closing quote on a new line as that is invalid (see GH-3141)."
100
101
102 def single_quote_docstring_over_line_limit2():
103     "We do not want to put the closing quote on a new line as that is invalid (see GH-3141)."