☰
Debian Codegraph
@
9.1.0-6
9.1.0-4
/
/
tests
/
roots
/
test-ext-viewcode
/
spam
/
mod1.py
☽
☼
tests/roots/test-ext-viewcode/spam/mod1.py
code
plain
raw
BSD-2-clause
2007-2025 the Sphinx team (see AUTHORS file)
debian/copyright
1
"""mod1"""
2
3
4
def decorator(f):
5
return f
6
7
8
@decorator
9
def func1(a, b):
10
"""this is func1"""
11
return a, b
12
13
14
@decorator
15
class Class1:
16
"""this is Class1"""
17
18
19
class Class3:
20
"""this is Class3"""
21
22
class_attr = 42
23
"""this is the class attribute class_attr"""