Skip to content

docs: Fix a few typos #150

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 6, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ You can configure Flask-PyMongo either by passing a `MongoDB URI
``MONGO_URI`` `Flask configuration variable
<http://flask.pocoo.org/docs/1.0/config/>`_

The :class:`~flask_pymongo.PyMongo` instnace also accepts these additional
The :class:`~flask_pymongo.PyMongo` instance also accepts these additional
customization options:

* ``json_options``, a :class:`~bson.json_util.JSONOptions` instance which
Expand Down Expand Up @@ -306,7 +306,7 @@ Changes:
- This is a minor version bump which introduces backwards breaking
changes! Please read these change notes carefully.
- Removed read preference constants from Flask-PyMongo; to set a
read preference, use the string name or import contants directly
read preference, use the string name or import constants directly
from :class:`pymongo.read_preferences.ReadPreference`.
- `#22 (partial) <https://github.com/dcrosta/flask-pymongo/pull/22>`_
Add support for ``MONGO_SOCKET_TIMEOUT_MS`` and
Expand Down
4 changes: 2 additions & 2 deletions flask_pymongo/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def show_task(task_id):

The :class:`~flask_pymongo.helpers.BSONObjectIdConverter` is
automatically installed on the :class:`~flask_pymongo.PyMongo`
instnace at creation time.
instance at creation time.

"""

Expand Down Expand Up @@ -135,7 +135,7 @@ def default(self, obj):

Falls back to Flask's default JSON serialization for all other types.

This may raise ``TypeError`` for object types not recignozed.
This may raise ``TypeError`` for object types not recognized.

.. versionadded:: 2.4.0

Expand Down