]> git.madduck.net Git - etc/vim.git/blob - tests/data/preview/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:

Bump furo from 2022.9.29 to 2022.12.7 in /docs (#3433)
[etc/vim.git] / tests / data / preview / 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
61 def docstring_almost_at_line_limit_with_prefix():
62     f"""long docstring................................................................
63     """
64
65
66 def mulitline_docstring_almost_at_line_limit():
67     """long docstring.................................................................
68
69     ..................................................................................
70     """
71
72
73 def mulitline_docstring_almost_at_line_limit_with_prefix():
74     f"""long docstring................................................................
75
76     ..................................................................................
77     """
78
79
80 def docstring_at_line_limit():
81     """long docstring................................................................"""
82
83
84 def docstring_at_line_limit_with_prefix():
85     f"""long docstring..............................................................."""
86
87
88 def multiline_docstring_at_line_limit():
89     """first line-----------------------------------------------------------------------
90
91     second line----------------------------------------------------------------------"""
92
93
94 def multiline_docstring_at_line_limit_with_prefix():
95     f"""first line----------------------------------------------------------------------
96
97     second line----------------------------------------------------------------------"""
98
99
100 def single_quote_docstring_over_line_limit():
101     "We do not want to put the closing quote on a new line as that is invalid (see GH-3141)."
102
103
104 def single_quote_docstring_over_line_limit2():
105     "We do not want to put the closing quote on a new line as that is invalid (see GH-3141)."