]> git.madduck.net Git - etc/vim.git/blobdiff - 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:

Imply 3.8+ when annotated assigments used with unparenthesized tuples (#2708)
[etc/vim.git] / tests / data / string_prefixes.py
index fbad5e0704ffb249dc759a16beb5a3efb0b62e43..9ddc2b540fcefe3c729e198cdc9e6ba5da5f4861 100644 (file)
@@ -3,12 +3,37 @@
 name = R"Łukasz"
 F"hello {name}"
 B"hello"
 name = R"Łukasz"
 F"hello {name}"
 B"hello"
+r"hello"
+fR"hello"
+
+
+def docstring_singleline():
+    R"""2020 was one hell of a year. The good news is that we were able to"""
+
+
+def docstring_multiline():
+    R"""
+    clear out all of the issues opened in that time :p
+    """
+
 
 # output
 
 
 #!/usr/bin/env python3.6
 
 
 # output
 
 
 #!/usr/bin/env python3.6
 
-name = r"Łukasz"
+name = R"Łukasz"
 f"hello {name}"
 b"hello"
 f"hello {name}"
 b"hello"
+r"hello"
+fR"hello"
+
+
+def docstring_singleline():
+    R"""2020 was one hell of a year. The good news is that we were able to"""
+
+
+def docstring_multiline():
+    R"""
+    clear out all of the issues opened in that time :p
+    """