diff --git a/doc/tutorial.rst b/doc/tutorial.rst index f854a3d5d..3e77ab1d8 100644 --- a/doc/tutorial.rst +++ b/doc/tutorial.rst @@ -142,7 +142,7 @@ of the collections in our database: .. doctest:: - >>> db.collection_names(include_system_collections=False) + >>> db.list_collection_names() [u'posts'] Getting a Single Document With :meth:`~pymongo.collection.Collection.find_one`