sphinx/tests/roots/test-directive-code/py-decorators.inc
2019-01-02 21:53:07 +09:00

16 lines
263 B
C++

# Literally included file using Python highlighting
@class_decorator
@other_decorator()
class TheClass(object):
@method_decorator
@other_decorator()
def the_method():
pass
@function_decorator
@other_decorator()
def the_function():
pass