Skip to content

Commit 034dba7

Browse files
committed
Minor doc fixes for Mongo(ReplicaSet)Client.
1 parent 5319bcc commit 034dba7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

doc/api/pymongo/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
Alias for :class:`pymongo.mongo_client.MongoClient`.
1111

12-
.. data:: ReplicaSetConnection
12+
.. data:: MongoReplicaSetClient
1313

1414
Alias for :class:`pymongo.mongo_replica_set_client.MongoReplicaSetClient`.
1515

doc/api/pymongo/mongo_client.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
.. describe:: c[db_name] || c.db_name
1414

15-
Get the `db_name` :class:`~pymongo.database.Database` on :class:`Connection` `c`.
15+
Get the `db_name` :class:`~pymongo.database.Database` on :class:`MongoClient` `c`.
1616

1717
Raises :class:`~pymongo.errors.InvalidName` if an invalid database name is used.
1818

doc/api/pymongo/mongo_replica_set_client.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
.. describe:: c[db_name] || c.db_name
1414

15-
Get the `db_name` :class:`~pymongo.database.Database` on :class:`ReplicaSetConnection` `c`.
15+
Get the `db_name` :class:`~pymongo.database.Database` on :class:`MongoReplicaSetClient` `c`.
1616

1717
Raises :class:`~pymongo.errors.InvalidName` if an invalid database name is used.
1818

0 commit comments

Comments
 (0)