X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/f71db23824a25300618dd0625085ade8d2b3a7a8..11f130b7deb74f424ebf57ef551953c9bc08393f:/tests/data/comments.py?ds=sidebyside diff --git a/tests/data/comments.py b/tests/data/comments.py index 8ce9ffe..c34daaf 100644 --- a/tests/data/comments.py +++ b/tests/data/comments.py @@ -22,6 +22,11 @@ except ImportError: # Some comment before a function. +y = 1 +( + # some strings + y # type: ignore +) def function(default=None): @@ -70,8 +75,13 @@ class Foo: """Docstring for instance attribute spam.""" +#'

This is pweave!

+ + @fast(really=True) async def wat(): + # This comment, for some reason \ + # contains a trailing backslash. async with X.open_async() as x: # Some more comments result = await x.method1() # Comment after ending a block.