-
-
Notifications
You must be signed in to change notification settings - Fork 36.4k
Expand file tree
/
Copy pathlongsummary.py
More file actions
29 lines (21 loc) · 1.27 KB
/
Copy pathlongsummary.py
File metadata and controls
29 lines (21 loc) · 1.27 KB
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
class C:
"""This is a class summary that consists of a very long single line, exceeding the recommended PEP 8 limit.
The rest of the docstring body, separated from the summary by a blank line, can also contain very long lines.
"""
def meth(self):
"""This is a method summary that consists of a very long single line, exceeding the recommended PEP 8 limit.
The rest of the docstring body, separated from the summary by a blank line, can also contain very long lines.
"""
@property
def prop(self):
"""This is a property summary that consists of a very long single line, exceeding the recommended PEP 8 limit.
The rest of the docstring body, separated from the summary by a blank line, can also contain very long lines.
"""
def func(self):
"""This is a function summary that consists of a very long single line, exceeding the recommended PEP 8 limit.
The rest of the docstring body, separated from the summary by a blank line, can also contain very long lines.
"""
data = C()
data.__doc__ = """This is a data summary that consists of a very long single line, exceeding the recommended PEP 8 limit.
The rest of the docstring body, separated from the summary by a blank line, can also contain very long lines.
"""