diff options
Diffstat (limited to 'tests/examplefiles/python/linecontinuation.py')
-rw-r--r-- | tests/examplefiles/python/linecontinuation.py | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/tests/examplefiles/python/linecontinuation.py b/tests/examplefiles/python/linecontinuation.py new file mode 100644 index 00000000..2a41c31c --- /dev/null +++ b/tests/examplefiles/python/linecontinuation.py @@ -0,0 +1,47 @@ +apple.filter(x, y) +apple.\ + filter(x, y) + +1 \ + . \ + __str__ + +from os import path +from \ + os \ + import \ + path + +import os.path as something + +import \ + os.path \ + as \ + something + +class \ + Spam: + pass + +class Spam: pass + +class Spam(object): + pass + +class \ + Spam \ + ( + object + ) \ + : + pass + + +def \ + spam \ + ( \ + ) \ + : \ + pass + + |