tests/roots/test-directive-code/target.py
raw| 1 | # Literally included file using Python highlighting |
| 2 | |
| 3 | foo = 'Including Unicode characters: üöä' |
| 4 | |
| 5 | |
| 6 | class Foo: |
| 7 | pass |
| 8 | |
| 9 | |
| 10 | class Bar: |
| 11 | def baz(): |
| 12 | pass |
| 13 | |
| 14 | |
| 15 | # comment after Bar class definition |
| 16 | def bar(): pass |
| 17 | |
| 18 | |
| 19 | def block_start_with_comment(): |
| 20 | # Comment |
| 21 | return 1 |
| 22 | |
| 23 | |
| 24 | def block_start_with_blank(): |
| 25 | |
| 26 | return 1 |
| 27 | |
| 28 | |
| 29 | class Qux: |
| 30 | def quux(self): |
| 31 | pass |