Debian Codegraph @

python/test_data/t1.ini

raw
1 # SPDX-FileCopyrightText: Peter Pentchev <[email protected]>
2 # SPDX-License-Identifier: CC0-1.0
3
4 # This is just a sample config file
5
6 # A sample INI file
7
8 # An INI file is separated into sections.
9 # Each section starts with its name in square brackets on a line by itself.
10 # Each section contains key=value pairs, with the whitespace before
11 # the key, around the equal sign, or at the end of the line simply ignored.
12 # A value may span multiple lines - a line continuation is denoted by
13 # a backslash (\) as the last character on the line.
14
15 ; Empty lines, lines consisting entirely of whitespace, or lines with
16 ; optional whitespace at the start, followed by a semicolon (;) or
17 ; a pound sign (#) and any other characters, are ignored.
18
19 [a]
20 # This is section a.
21 key1=value1
22 key6 = value6
23 key3 =\
24 val'ue3
25
26 [ b sect ]
27 key4= v'alu'e4
28
29 [ c ]
30
31 key5 = \
32 \
33 # value5
34 # And nothing more.
35
36 # Okay, let's see what happens now...
37 # A section may be split within the file - another section header with
38 # the same name continues the definition of variables in the same section.
39
40 [a]
41 key2=value2
42
43 [b sect]
44 key7=value7
45
46 [longcont]
47 long = stuff \
48 and more stuff\
49 and even more stuff \
50 and wheee
51
52 # And that's all, folks!