Skip to content

Commit

Permalink
docs: fix typos
Browse files Browse the repository at this point in the history
Found via `codespell -S .mypy_cache`
  • Loading branch information
kianmeng authored and msiemens committed Jan 11, 2023
1 parent 42c648f commit 58787b2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ v4.5.2 (2021-09-23)

- Fix: Make ``Table.delete()``'s argument priorities consistent with
other table methods. This means that if you pass both ``cond`` as
well as ``doc_ids`` to ``Table.delete()``, the latter will be prefered
well as ``doc_ids`` to ``Table.delete()``, the latter will be preferred
(see `issue 424 <https://github.com/msiemens/tinydb/issues/424>`__)

v4.5.1 (2021-07-17)
Expand Down Expand Up @@ -329,7 +329,7 @@ v3.4.1 (2017-08-23)
v3.4.0 (2017-08-08)
^^^^^^^^^^^^^^^^^^^

- Add new update operations: ``add(key, value)``, ``substract(key, value)``,
- Add new update operations: ``add(key, value)``, ``subtract(key, value)``,
and ``set(key, value)``
(see `pull request #145 <https://github.com/msiemens/tinydb/pull/145>`_).

Expand Down Expand Up @@ -425,7 +425,7 @@ v3.0.0 (2015-11-13)
notation can be used: ``where('a.b.c')`` is now
``Query()['a.b.c']``.

- Checking for the existence of a key has to be done explicitely:
- Checking for the existence of a key has to be done explicitly:
``where('foo').exists()``.

- Migrations from v1 to v2 have been removed.
Expand Down
2 changes: 1 addition & 1 deletion tinydb/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
TinyDB is a tiny, document oriented database optimized for your happiness :)
TinyDB stores differrent types of Python data types using a configurable
TinyDB stores different types of Python data types using a configurable
storage mechanism. It comes with a syntax for querying data and storing
data in multiple tables.
Expand Down
2 changes: 1 addition & 1 deletion tinydb/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def table(self, name: str, **kwargs) -> Table:
If the table hasn't been accessed yet, a new table instance will be
created using the :attr:`~tinydb.database.TinyDB.table_class` class.
Otherwise, the previously created table instance wil be returned.
Otherwise, the previously created table instance will be returned.
All further options besides the name are passed to the table class which
by default is :class:`~tinydb.table.Table`. Check its documentation
Expand Down
2 changes: 1 addition & 1 deletion tinydb/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ def _get_next_id(self):
max_id = max(self.document_id_class(i) for i in table.keys())
next_id = max_id + 1

# The next ID we wil return AFTER this call needs to be larger than
# The next ID we will return AFTER this call needs to be larger than
# the current next ID we calculated
self._next_id = next_id + 1

Expand Down

0 comments on commit 58787b2

Please sign in to comment.