]> git.madduck.net Git - etc/vim.git/blob - tests/data/string_prefixes.py

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

f86da696e1566482850877c8ca3d1ed745ed0647
[etc/vim.git] / tests / data / string_prefixes.py
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     """