diff options
Diffstat (limited to 'docs/ref/files')
| -rw-r--r-- | docs/ref/files/file.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/files/file.txt b/docs/ref/files/file.txt index 253e3d2903..f5c1b10917 100644 --- a/docs/ref/files/file.txt +++ b/docs/ref/files/file.txt @@ -139,14 +139,14 @@ below) will also have a couple of extra methods: .. code-block:: pycon - >>> car.photo.save('myphoto.jpg', content, save=False) + >>> car.photo.save("myphoto.jpg", content, save=False) >>> car.save() are equivalent to: .. code-block:: pycon - >>> car.photo.save('myphoto.jpg', content, save=True) + >>> car.photo.save("myphoto.jpg", content, save=True) Note that the ``content`` argument must be an instance of either :class:`File` or of a subclass of :class:`File`, such as |
