##// END OF EJS Templates
osutil: reformat triple-quoted string so black doesn't confuse itself...
Augie Fackler -
r46553:346af768 default
parent child Browse files
Show More
@@ -293,7 +293,8 b' else:'
293 '''mimics the read-only attributes of Python file objects
293 '''mimics the read-only attributes of Python file objects
294 by raising 'TypeError: readonly attribute' if someone tries:
294 by raising 'TypeError: readonly attribute' if someone tries:
295 f = posixfile('foo.txt')
295 f = posixfile('foo.txt')
296 f.name = 'bla' '''
296 f.name = 'bla'
297 '''
297 return self._file.__setattr__(name, value)
298 return self._file.__setattr__(name, value)
298
299
299 def __enter__(self):
300 def __enter__(self):
General Comments 0
You need to be logged in to leave comments. Login now