Skip to content

Commit

Permalink
Remove obsoleted "raw" mentions
Browse files Browse the repository at this point in the history
  • Loading branch information
gilch committed May 18, 2024
1 parent 21bb7c4 commit d68c5ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/primer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1138,11 +1138,11 @@ Keeping the phases of compilation straight can be confusing.

.. code-block:: REPL
#> '"{(1, 2): 'buckle my shoe'}" ; quoted raw string contains a Python literal
#> '"{(1, 2): 'buckle my shoe'}" ; quoted "" token contains a Python literal
>>> '("{(1, 2): \'buckle my shoe\'}")'
'("{(1, 2): \'buckle my shoe\'}")'
#> '.#"{(3, 4): 'shut the door'}" ; quoted injected raw contains a dict
#> '.#"{(3, 4): 'shut the door'}" ; quoted injected "" contains a dict
>>> "{(3, 4): 'shut the door'}"
"{(3, 4): 'shut the door'}"
Expand Down Expand Up @@ -1966,7 +1966,7 @@ Note the three reader macros in a row: ``','``.
Using a symbol here is a bit sloppy.
If you really meant it to be text, rather than an identifier,
a raw string might have been a better idea:
a "" token might have been a better idea:

.. code-block:: REPL
Expand Down

0 comments on commit d68c5ec

Please sign in to comment.