sphinx/tests/roots/test-ext-viewcode/spam/mod1.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
308 B
Python
Raw Normal View History

2014-09-21 13:23:24 -05:00
"""
mod1
"""
2018-02-19 07:39:14 -06:00
def decorator(f):
return f
2018-02-19 07:39:14 -06:00
@decorator
2014-09-21 13:23:24 -05:00
def func1(a, b):
"""
this is func1
"""
return a, b
@decorator
2023-01-01 18:01:14 -06:00
class Class1:
2014-09-21 13:23:24 -05:00
"""
this is Class1
"""
2018-02-19 07:39:14 -06:00
2023-01-01 18:01:14 -06:00
class Class3:
"""
this is Class3
"""
class_attr = 42
"""this is the class attribute class_attr"""