Debian Codegraph @

tests/roots/test-ext-viewcode-find-package/main_package/subpackage/_subpackage2/submodule.py

raw
1 """submodule"""
2 # raise RuntimeError('This module should not get imported')
3
4
5 def decorator(f):
6 return f
7
8
9 @decorator
10 def func1(a, b):
11 """this is func1"""
12 return a, b
13
14
15 @decorator
16 class Class1:
17 """this is Class1"""
18
19
20 class Class3:
21 """this is Class3"""
22
23 class_attr = 42
24 """this is the class attribute class_attr"""