summaryrefslogtreecommitdiffstats
path: root/tests/roots/test-ext-viewcode/spam/mod2.py
blob: 72cb0897815f6252fa3af77d4b862961e293ab12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
"""
mod2
"""


def decorator(f):
    return f


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


@decorator
class Class2:
    """
    this is Class2
    """