Skip to content

Commit 066be85

Browse files
committed
more documentation PYTHON-168
1 parent 463a7e4 commit 066be85

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

gridfs/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,9 @@ def delete(self, file_id):
196196
file. Care should be taken to avoid concurrent reads to a file
197197
while it is being deleted.
198198
199+
.. note:: Deletes of non-existent files are considered successful
200+
since the end result is the same: no file with that _id remains.
201+
199202
:Parameters:
200203
- `file_id`: ``"_id"`` of the file to delete
201204

0 commit comments

Comments
 (0)