osutil: reformat triple-quoted string so black doesn't confuse itself
authorAugie Fackler <raf@durin42.com>
Fri, 27 Nov 2020 17:00:00 -0500
changeset 45941 346af7687c6f
parent 45940 10dbc80d4be7
child 45942 89a2afe31e82
osutil: reformat triple-quoted string so black doesn't confuse itself Differential Revision: https://phab.mercurial-scm.org/D9429
mercurial/pure/osutil.py
--- a/mercurial/pure/osutil.py	Fri Nov 27 16:59:14 2020 -0500
+++ b/mercurial/pure/osutil.py	Fri Nov 27 17:00:00 2020 -0500
@@ -293,7 +293,8 @@
             '''mimics the read-only attributes of Python file objects
             by raising 'TypeError: readonly attribute' if someone tries:
               f = posixfile('foo.txt')
-              f.name = 'bla'  '''
+              f.name = 'bla'
+            '''
             return self._file.__setattr__(name, value)
 
         def __enter__(self):