From 54101c339738da49580e7dd1a56b679c95926dfc Mon Sep 17 00:00:00 2001 From: Matthias Diener <mdiener@illinois.edu> Date: Sat, 12 Jun 2021 11:32:54 -0500 Subject: [PATCH] grammar fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Andreas Klöckner <inform@tiker.net> --- arraycontext/container/traversal.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arraycontext/container/traversal.py b/arraycontext/container/traversal.py index f8a5411..21599ff 100644 --- a/arraycontext/container/traversal.py +++ b/arraycontext/container/traversal.py @@ -238,7 +238,7 @@ def keyed_map_array_container( ary: ArrayContainerT) -> ArrayContainerT: r"""Applies *f* to all components of an :class:`ArrayContainer`. - Works similar to :func:`map_array_container`, but *f* also takes an + Works similarly to :func:`map_array_container`, but *f* also takes an identifier of the array in the container *ary*. For a recursive version, see :func:`rec_keyed_map_array_container`. @@ -286,7 +286,7 @@ def rec_keyed_map_array_container( f: Callable[[Tuple[Union[str, int], ...], Any], Any], ary: ArrayContainerT) -> ArrayContainerT: """ - Works similar to :func:`rec_map_array_container`, except that *f* also + Works similarly to :func:`rec_map_array_container`, except that *f* also takes in a traversal path to the leaf array. The traversal path argument is passed in as a tuple of identifiers of the arrays traversed before reaching the current array. -- GitLab