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

31 lines
324 B
Python
Raw Normal View History

2014-09-21 20:23:24 +02:00
"""
mod1
"""
2018-02-19 22:39:14 +09:00
def decorator(f):
return f
2018-02-19 22:39:14 +09:00
@decorator
2014-09-21 20:23:24 +02:00
def func1(a, b):
"""
this is func1
"""
return a, b
@decorator
2014-09-21 20:23:24 +02:00
class Class1(object):
"""
this is Class1
"""
2018-02-19 22:39:14 +09:00
class Class3(object):
"""
this is Class3
"""
class_attr = 42
"""this is the class attribute class_attr"""