]> 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:

Fix typo in CHANGES.md (#3142)
[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 # output
46
47
48 def docstring_almost_at_line_limit():
49     """long docstring.................................................................
50     """
51
52
53 def docstring_almost_at_line_limit_with_prefix():
54     f"""long docstring................................................................
55     """
56
57
58 def mulitline_docstring_almost_at_line_limit():
59     """long docstring.................................................................
60
61     ..................................................................................
62     """
63
64
65 def mulitline_docstring_almost_at_line_limit_with_prefix():
66     f"""long docstring................................................................
67
68     ..................................................................................
69     """
70
71
72 def docstring_at_line_limit():
73     """long docstring................................................................"""
74
75
76 def docstring_at_line_limit_with_prefix():
77     f"""long docstring..............................................................."""
78
79
80 def multiline_docstring_at_line_limit():
81     """first line-----------------------------------------------------------------------
82
83     second line----------------------------------------------------------------------"""
84
85
86 def multiline_docstring_at_line_limit_with_prefix():
87     f"""first line----------------------------------------------------------------------
88
89     second line----------------------------------------------------------------------"""