Skip to content

Commit

Permalink
fix link
Browse files Browse the repository at this point in the history
  • Loading branch information
mahmoud committed Nov 26, 2023
1 parent cb1df56 commit dc6ab4a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/snippets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -343,10 +343,10 @@ Store and Retrieve Current Target
The :data:`~glom.A` scope assignment helper makes it
convenient to hold on to the current target and then reset it.

The `(A.t, ..., S.t)` "sandwich" is a convenient idiom for these
The ``(A.t, ..., S.t)`` "sandwich" is a convenient idiom for these
cases.

For example, we could use this to update a `dict`:
For example, we could use this to update a ``dict``:


.. code-block:: python
Expand Down Expand Up @@ -390,5 +390,5 @@ You can play with glom scopes `in your browser here`__.

Note that at the time of writing, glom doesn't yet have full tree traversal, so the nesting of
the spec is going to roughly match the nesting of your data. If you need this to work in an
arbitrarily nested structure, we recommend `remap <https://sedimental.org/remap.html>`,
arbitrarily nested structure, we recommend `remap <https://sedimental.org/remap.html>`_,
the recursive map function.

0 comments on commit dc6ab4a

Please sign in to comment.