We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab3cde7 commit 6d53fe6Copy full SHA for 6d53fe6
tests/snippets/class.py
@@ -116,3 +116,31 @@ def f(self):
116
assert type(a) is super
117
assert a.conjugate() == 1
118
119
+
120
+class T1:
121
+ "test1"
122
123
+assert T1.__doc__ == "test1"
124
125
+class T2:
126
+ '''test2'''
127
128
+assert T2.__doc__ == "test2"
129
130
+class T3:
131
+ """
132
+ test3
133
134
135
+assert T3.__doc__ == "\n test3\n "
136
137
+class T4:
138
139
+ """test4"""
140
141
+ def t1(self):
142
+ """t1"""
143
+ pass
144
145
+assert T4.__doc__ == "test4"
146
+assert T4.t1.__doc__ == "t1"
0 commit comments