changeset 45956:346af7687c6f

osutil: reformat triple-quoted string so black doesn't confuse itself Differential Revision: https://phab.mercurial-scm.org/D9429
author Augie Fackler <raf@durin42.com>
date Fri, 27 Nov 2020 17:00:00 -0500
parents 10dbc80d4be7
children 89a2afe31e82
files mercurial/pure/osutil.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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):