Skip to content

Commit

Permalink
Fix typos/grammar in concept.rst (#491)
Browse files Browse the repository at this point in the history
* Fix typo in concept.rst

* Fix grammar: add missing pronoun

Either or:
- It allows one/us to do something
- It allows doing something

* Fix typo in define
  • Loading branch information
ivanovmg authored Dec 12, 2024
1 parent 0b958c8 commit 29f6590
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/pages/concept.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ To use typeclasses you should understand these steps:
F2 --> F3["Calling"]

Let's walk through this process step by step.
The first on is "Typeclass definition", where we create a new typeclass:
The first one is "Typeclass definition", where we create a new typeclass:

.. code:: python
Expand Down Expand Up @@ -174,7 +174,7 @@ This registry is using ``isinstance`` function
to find handler that fits the defined predicate.
It has the highest priority among other dispatch methods.

This allows to sync both runtime and ``mypy`` behavior:
This allows us to sync both runtime and ``mypy`` behavior:

.. code:: python
Expand Down Expand Up @@ -361,7 +361,7 @@ Overriding and extending existing instances
Sometimes we really need to override how things work.
With objects and classes this can be problematic,
because we would need to definie a new subclass
because we would need to define a new subclass
and chances are that it won't be used in some situations.
With ``@typeclass`` overriding something is as easy.
Expand Down

0 comments on commit 29f6590

Please sign in to comment.