Skip to content

Commit c382ca8

Browse files
committed
PYTHON-1316 Fix doc tests, remove SystemJS from docs
1 parent 6b4b9c9 commit c382ca8

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

doc/api/pymongo/database.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,3 @@
2727
.. autoattribute:: read_preference
2828
.. autoattribute:: write_concern
2929
.. autoattribute:: read_concern
30-
31-
32-
.. autoclass:: pymongo.database.SystemJS
33-
:members:

doc/migrate-to-pymongo4.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,7 @@ Code like this::
6464

6565
>>> result = database.eval('function (x) {return x;}', 3)
6666

67-
can be changed to this with MongoDB <= 4.0:
68-
69-
.. doctest::
67+
can be changed to this with MongoDB <= 4.0::
7068

7169
>>> from bson.code import Code
7270
>>> result = database.command('eval', Code('function (x) {return x;}'), args=[3]).get('retval')

0 commit comments

Comments
 (0)