|
| 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----------------------------------------------------------------------""" |
0 commit comments