Skip to content

Commit

Permalink
Spell good
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisrink10 committed Apr 1, 2020
1 parent d1addf6 commit fa47a01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/pyinterop.rst
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ In rare circumstances (such as supplying a callback function), it may be necessa
Basilisp can generate functions which can receive these keyword arguments and translate them into idiomatic Basilisp.
Single-arity functions and ``deftype`` methods can declare support for Python keyword arguments with the ``:kwargs`` metadata key.
Multi-arity functions and ``deftype`` methods do not support Python keyword arguments.
For functions which do support keywrd arguments, two strategies are supported for generating these functions: ``:apply`` and ``:collect``.
For functions which do support keyword arguments, two strategies are supported for generating these functions: ``:apply`` and ``:collect``.

.. note::

Expand All @@ -181,7 +181,7 @@ For functions which do support keywrd arguments, two strategies are supported fo
kwargs)
The ``:apply`` strategy is appropriate in situations where there are few or no positional arguments defined on your function.
With this strategy, the compiler converts the Python dict of string keys and values into a sequentual stream of de-munged keyword and value pairs which are applied to the function.
With this strategy, the compiler converts the Python dict of string keys and values into a sequential stream of de-munged keyword and value pairs which are applied to the function.
As you can see in the example above, this strategy fits neatly with the existing support for destructuring key and value pairs from rest arguments in a function definition.

.. warning::
Expand Down

0 comments on commit fa47a01

Please sign in to comment.