docs: Fix a few typos (#1003)

This commit is contained in:
Tim Gates 2022-07-13 03:00:39 +10:00 committed by GitHub
parent 34f3a1585c
commit 418130d923
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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