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