diff --git a/pymongo/asynchronous/encryption.py b/pymongo/asynchronous/encryption.py index cf7612db6d..0cdbc532cc 100644 --- a/pymongo/asynchronous/encryption.py +++ b/pymongo/asynchronous/encryption.py @@ -1089,7 +1089,7 @@ async def encrypt( Added the `string_opts` parameter, replacing the deprecated `text_opts`. - .. versionchanged:: 4.9 + .. versionchanged:: 4.15 Added the `text_opts` parameter. .. versionchanged:: 4.9 diff --git a/pymongo/synchronous/encryption.py b/pymongo/synchronous/encryption.py index f2cd871270..8b22eda91f 100644 --- a/pymongo/synchronous/encryption.py +++ b/pymongo/synchronous/encryption.py @@ -1082,7 +1082,7 @@ def encrypt( Added the `string_opts` parameter, replacing the deprecated `text_opts`. - .. versionchanged:: 4.9 + .. versionchanged:: 4.15 Added the `text_opts` parameter. .. versionchanged:: 4.9