xref: /Universal-ctags/Units/parser-python.r/strings.d/input.py (revision 9c5effe3cc1a0563ef9a8650dfd9adf1c26f773f)
1
2VAR01 = ""
3VAR02 = "hello"
4VAR03 = ''
5VAR04 = 'hi'
6VAR05 = "\""
7VAR06 = '\''
8VAR07 = "'''"
9VAR08 = '"""'
10
11VAR21 = r""
12VAR22 = u"hello"
13VAR23 = R''
14VAR24 = U'hi'
15VAR25 = b"\""
16VAR26 = B'\''
17VAR27 = br"'''"
18VAR28 = Br'"""'
19VAR29 = bR"hello"
20VAR30 = BR"hello"
21# Python >= 3.3
22VAR31 = rb"hello"
23VAR32 = rB"hello"
24VAR33 = Rb"hello"
25VAR34 = RB"hello"
26# Python 2 only
27VAR35 = ur"hello"
28VAR36 = UR"hello"
29VAR37 = uR"hello"
30VAR38 = Ur"hello"
31
32# also test not-too-bad behavior when strings are not terminated properly
33VAR80 = "oops
34VAR81 = 'oopsie
35VAR82 = "\"
36VAR83 = '\'
37VAR84 = 42
38