Skip to content

Commit d05b9d7

Browse files
committed
PYTHON-1321 Mention that MongoReplicaSetClient is the same as MongoClient since 3.0
1 parent a2b6f0c commit d05b9d7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

doc/migrate-to-pymongo4.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,10 @@ MongoReplicaSetClient
5454
---------------------
5555

5656
Removed :class:`~pymongo.mongo_replica_set_client.MongoReplicaSetClient`.
57-
Use :class:`pymongo.mongo_client.MongoClient` instead.
57+
Since PyMongo 3.0, ``MongoReplicaSetClient`` has been identical to
58+
:class:`pymongo.mongo_client.MongoClient`. Applications can simply replace
59+
``MongoReplicaSetClient`` with :class:`pymongo.mongo_client.MongoClient` and
60+
get the same behavior.
5861

5962
MongoClient
6063
-----------

0 commit comments

Comments
 (0)