Debian Codegraph @

tests/roots/test-directive-code/py-decorators.inc

raw
1 # Literally included file using Python highlighting
2
3 @class_decorator
4 @other_decorator()
5 class TheClass(object):
6
7 @method_decorator
8 @other_decorator()
9 def the_method():
10 pass
11
12 @function_decorator
13 @other_decorator()
14 def the_function():
15 pass