From 158e6c6574a8658afffadd77ea77d372f364a9ec Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Fri, 16 Feb 2024 08:37:03 -0600 Subject: [PATCH] PYTHON-4218 Update links to change-streams specification (#1525) --- pymongo/collection.py | 2 +- pymongo/database.py | 2 +- pymongo/mongo_client.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pymongo/collection.py b/pymongo/collection.py index 56d5977f1..b95bfb832 100644 --- a/pymongo/collection.py +++ b/pymongo/collection.py @@ -2869,7 +2869,7 @@ class Collection(common.BaseObject, Generic[_DocumentType]): .. seealso:: The MongoDB documentation on `changeStreams `_. .. _change streams specification: - https://github.com/mongodb/specifications/blob/master/source/change-streams/change-streams.rst + https://github.com/mongodb/specifications/blob/master/source/change-streams/change-streams.md """ return CollectionChangeStream( self, diff --git a/pymongo/database.py b/pymongo/database.py index e21aa6879..c8f63a9d1 100644 --- a/pymongo/database.py +++ b/pymongo/database.py @@ -660,7 +660,7 @@ class Database(common.BaseObject, Generic[_DocumentType]): .. seealso:: The MongoDB documentation on `changeStreams `_. .. _change streams specification: - https://github.com/mongodb/specifications/blob/master/source/change-streams/change-streams.rst + https://github.com/mongodb/specifications/blob/master/source/change-streams/change-streams.md """ return DatabaseChangeStream( self, diff --git a/pymongo/mongo_client.py b/pymongo/mongo_client.py index 910c76f90..e7435200d 100644 --- a/pymongo/mongo_client.py +++ b/pymongo/mongo_client.py @@ -1027,7 +1027,7 @@ class MongoClient(common.BaseObject, Generic[_DocumentType]): .. seealso:: The MongoDB documentation on `changeStreams `_. .. _change streams specification: - https://github.com/mongodb/specifications/blob/master/source/change-streams/change-streams.rst + https://github.com/mongodb/specifications/blob/master/source/change-streams/change-streams.md """ return ClusterChangeStream( self.admin,