Debian Codegraph @

tests/data/cases/string_prefixes.py

raw
1 #!/usr/bin/env python3
2
3 name = "Łukasz"
4 (f"hello {name}", F"hello {name}")
5 (b"", B"")
6 (u"", U"")
7 (r"", R"")
8
9 (rf"", fr"", Rf"", fR"", rF"", Fr"", RF"", FR"")
10 (rb"", br"", Rb"", bR"", rB"", Br"", RB"", BR"")
11
12
13 def docstring_singleline():
14 R"""2020 was one hell of a year. The good news is that we were able to"""
15
16
17 def docstring_multiline():
18 R"""
19 clear out all of the issues opened in that time :p
20 """
21
22
23 # output
24
25
26 #!/usr/bin/env python3
27
28 name = "Łukasz"
29 (f"hello {name}", f"hello {name}")
30 (b"", b"")
31 ("", "")
32 (r"", R"")
33
34 (rf"", rf"", Rf"", Rf"", rf"", rf"", Rf"", Rf"")
35 (rb"", rb"", Rb"", Rb"", rb"", rb"", Rb"", Rb"")
36
37
38 def docstring_singleline():
39 R"""2020 was one hell of a year. The good news is that we were able to"""
40
41
42 def docstring_multiline():
43 R"""
44 clear out all of the issues opened in that time :p
45 """