From b8653b018d0f16f2f60640a633c832939fffccbe Mon Sep 17 00:00:00 2001 From: Atiab Bin Zakaria <61742543+atiabbz@users.noreply.github.com> Date: Thu, 9 Jun 2022 23:10:03 +0800 Subject: [PATCH] Remove extra period in `is_mongos` documentation (#967) --- pymongo/mongo_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymongo/mongo_client.py b/pymongo/mongo_client.py index 7af4b167f..5e4cf0d75 100644 --- a/pymongo/mongo_client.py +++ b/pymongo/mongo_client.py @@ -1080,7 +1080,7 @@ class MongoClient(common.BaseObject, Generic[_DocumentType]): def is_mongos(self) -> bool: """If this client is connected to mongos. If the client is not connected, this will block until a connection is established or raise - ServerSelectionTimeoutError if no server is available.. + ServerSelectionTimeoutError if no server is available. """ return self._server_property("server_type") == SERVER_TYPE.Mongos