mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
31 lines
308 B
Python
31 lines
308 B
Python
"""
|
|
mod1
|
|
"""
|
|
|
|
|
|
def decorator(f):
|
|
return f
|
|
|
|
|
|
@decorator
|
|
def func1(a, b):
|
|
"""
|
|
this is func1
|
|
"""
|
|
return a, b
|
|
|
|
|
|
@decorator
|
|
class Class1:
|
|
"""
|
|
this is Class1
|
|
"""
|
|
|
|
|
|
class Class3:
|
|
"""
|
|
this is Class3
|
|
"""
|
|
class_attr = 42
|
|
"""this is the class attribute class_attr"""
|