summaryrefslogtreecommitdiffstats
path: root/tests/roots/test-ext-viewcode/spam/mod1.py
blob: a078328c283219c60b712470f91d152c38576e80 (plain)
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
30
"""
mod1
"""


def decorator(f):
    return f


@decorator
def func1(a, b):
    """
    this is func1
    """
    return a, b


@decorator
class Class1:
    """
    this is Class1
    """


class Class3:
    """
    this is Class3
    """
    class_attr = 42
    """this is the class attribute class_attr"""