diff --git a/API_Reference/pymilvus/v2.4.x/ORM/Collection/query_iterator.md b/API_Reference/pymilvus/v2.4.x/ORM/Collection/query_iterator.md index 2c0f1f02eb..35f0bae165 100644 --- a/API_Reference/pymilvus/v2.4.x/ORM/Collection/query_iterator.md +++ b/API_Reference/pymilvus/v2.4.x/ORM/Collection/query_iterator.md @@ -113,7 +113,7 @@ while True: res = iterator.next() if not res: - iterator.close() + res.close() break ```