소스 검색

Add "r" literal to docstring

The docstring contains a backslash.
Steven Myint 12 년 전
부모
커밋
e1ce6395b2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      src/cdiff.py

+ 1
- 1
src/cdiff.py 파일 보기

@@ -78,7 +78,7 @@ class Hunk(object):
78 78
         self._hunk_list.append((attr, line))
79 79
 
80 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 82
         tuple: (from line tuple, to line tuple, boolean flag)
83 83
 
84 84
         from/to line tuple -- (line num, line text)