diff --git a/pymongo/database.py b/pymongo/database.py index d182012cd..004756819 100644 --- a/pymongo/database.py +++ b/pymongo/database.py @@ -772,7 +772,7 @@ class Database(common.BaseObject, Generic[_DocumentType]): .. note:: If this client has been configured to use MongoDB Stable API (see :ref:`versioned-api-ref`), then :meth:`command` will - automactically add API versioning options to the given command. + automatically add API versioning options to the given command. Explicitly adding API versioning options in the command and declaring an API version on the client is not supported. diff --git a/pymongo/ocsp_support.py b/pymongo/ocsp_support.py index 94905d9f4..3a201f1f5 100644 --- a/pymongo/ocsp_support.py +++ b/pymongo/ocsp_support.py @@ -217,7 +217,7 @@ def _verify_response(issuer, response): if not res: return 0 - # Note that we are not using a "tolerence period" as discussed in + # Note that we are not using a "tolerance period" as discussed in # https://tools.ietf.org/rfc/rfc5019.txt? now = _datetime.utcnow() # RFC6960, Section 3.2, Number 5