summaryrefslogtreecommitdiff
path: root/tests/roots/test-directive-code/target.py
blob: 61ad717ec23dd91cb8f584c54c206d96ad4d4376 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Literally included file using Python highlighting
# -*- coding: utf-8 -*-

foo = "Including Unicode characters: üöä"

class Foo:
    pass

class Bar:
    def baz():
        pass

# comment after Bar class definition
def bar(): pass

def block_start_with_comment():
    # Comment
    return 1

def block_start_with_blank():

    return 1