summaryrefslogtreecommitdiffstats
path: root/tests/roots/test-ext-viewcode/spam/mod2.py
blob: 92d1961770aaed1fd44adf4aaa32c8e20aebce01 (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(object):
    """
    this is Class2
    """