Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 # A109 | 1 # A109 |
2 'this doc string should use three double quotes' | 2 'this doc string should use three double quotes' |
3 | 3 |
4 | 4 |
5 class Foo: | 5 class Foo: |
6 # A109 | 6 # A109 |
7 "this doc string should use three quotes" | 7 "this doc string should use three quotes" |
8 | 8 |
9 def single(self): | 9 def single(self): |
10 # A109 | 10 # A109 |
11 '''this doc string should use double quotes''' | 11 '''this doc string should use double quotes''' |
12 | 12 |
13 def raw(self): | |
14 # A109 | |
15 r"""this doc string must not be marked as raw string""" | |
16 | |
17 def correct(self): | 13 def correct(self): |
18 """this doc string uses the right quotes""" | 14 """this doc string uses the right quotes""" |
LEFT | RIGHT |