Skip to content

Commit a541d88

Browse files
authored
Merge pull request #150 from timgates42/bugfix_typos
docs: Fix a few typos
2 parents cf02dff + 64a12f4 commit a541d88

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ You can configure Flask-PyMongo either by passing a `MongoDB URI
9494
``MONGO_URI`` `Flask configuration variable
9595
<http://flask.pocoo.org/docs/1.0/config/>`_
9696

97-
The :class:`~flask_pymongo.PyMongo` instnace also accepts these additional
97+
The :class:`~flask_pymongo.PyMongo` instance also accepts these additional
9898
customization options:
9999

100100
* ``json_options``, a :class:`~bson.json_util.JSONOptions` instance which
@@ -306,7 +306,7 @@ Changes:
306306
- This is a minor version bump which introduces backwards breaking
307307
changes! Please read these change notes carefully.
308308
- Removed read preference constants from Flask-PyMongo; to set a
309-
read preference, use the string name or import contants directly
309+
read preference, use the string name or import constants directly
310310
from :class:`pymongo.read_preferences.ReadPreference`.
311311
- `#22 (partial) <https://github.com/dcrosta/flask-pymongo/pull/22>`_
312312
Add support for ``MONGO_SOCKET_TIMEOUT_MS`` and

flask_pymongo/helpers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def show_task(task_id):
6969
7070
The :class:`~flask_pymongo.helpers.BSONObjectIdConverter` is
7171
automatically installed on the :class:`~flask_pymongo.PyMongo`
72-
instnace at creation time.
72+
instance at creation time.
7373
7474
"""
7575

@@ -135,7 +135,7 @@ def default(self, obj):
135135
136136
Falls back to Flask's default JSON serialization for all other types.
137137
138-
This may raise ``TypeError`` for object types not recignozed.
138+
This may raise ``TypeError`` for object types not recognized.
139139
140140
.. versionadded:: 2.4.0
141141

0 commit comments

Comments
 (0)