Skip to content

Commit

Permalink
Copy-edit
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Oct 13, 2020
1 parent 75b7f84 commit fc5a27c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/python/code.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ or:
message = "Is '{person[name]}' correct?".format(person=person)
is easier to read and write than:
is easier to write than:

.. code-block:: python
Expand All @@ -89,7 +89,7 @@ Logging
logger.debug("hello %s", "world")
Internationalization (i18n)
String extraction in most projects is done by the ``xgettext`` command, which doesn't support f-strings. To have a single syntax for translated strings, use named placeholders and the ``%`` operator, as recommended by `Django <https://docs.djangoproject.com/en/3.1/topics/i18n/translation/#standard-translation>`__.
String extraction in most projects is done by the ``xgettext`` command, which doesn't support f-strings. To have a single syntax for translated strings, use named placeholders and the ``%`` operator, as recommended by `Django <https://docs.djangoproject.com/en/3.1/topics/i18n/translation/#standard-translation>`__. For example:

.. code-block:: python
Expand Down

0 comments on commit fc5a27c

Please sign in to comment.