Преглед изворни кода

Add "r" literal to docstring

The docstring contains a backslash.
Steven Myint пре 13 година
родитељ
комит
e1ce6395b2
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      src/cdiff.py

+ 1
- 1
src/cdiff.py Прегледај датотеку

78
         self._hunk_list.append((attr, line))
78
         self._hunk_list.append((attr, line))
79
 
79
 
80
     def mdiff(self):
80
     def mdiff(self):
81
-        """The difflib._mdiff() function returns an interator which returns a
81
+        r"""The difflib._mdiff() function returns an interator which returns a
82
         tuple: (from line tuple, to line tuple, boolean flag)
82
         tuple: (from line tuple, to line tuple, boolean flag)
83
 
83
 
84
         from/to line tuple -- (line num, line text)
84
         from/to line tuple -- (line num, line text)