@@ -247,8 +247,11 @@ are also provided to help in implementing the core ABCs. |
|
|
247 |
247 |
.. method:: set_data(self, path, data) |
248 |
248 |
|
249 |
249 |
Optional abstract method which writes the specified bytes to a file |
250 |
|
- path. When writing to the path fails because the path is read-only, do |
251 |
|
- not propagate the exception. |
|
250 |
+ path. Any intermediate directories which do not exist are to be created |
|
251 |
+ automatically. |
|
252 |
+ |
|
253 |
+ When writing to the path fails because the path is read-only |
|
254 |
+ (:attr:`errno.EACCES`), do not propagate the exception. |
252 |
255 |
|
253 |
256 |
.. method:: get_code(self, fullname) |
254 |
257 |
|