mercurial/pure/osutil.py
changeset 45941 346af7687c6f
parent 43506 9f70512ae2cf
child 45942 89a2afe31e82
--- 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):