summaryrefslogtreecommitdiff
path: root/test/regrtest_data/classdoc_usage.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/regrtest_data/classdoc_usage.py')
-rw-r--r--test/regrtest_data/classdoc_usage.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/regrtest_data/classdoc_usage.py b/test/regrtest_data/classdoc_usage.py
new file mode 100644
index 000000000..ae8b9fe3f
--- /dev/null
+++ b/test/regrtest_data/classdoc_usage.py
@@ -0,0 +1,17 @@
+"""ds"""
+
+__revision__ = None
+
+class SomeClass:
+ """cds"""
+ doc = __doc__
+
+ def __init__(self):
+ """only to make pylint happier"""
+
+ def please(self):
+ """public method 1/2"""
+
+ def besilent(self):
+ """public method 2/2"""
+