Fix trivial typos.
This commit is contained in:
parent
e4ab3cdbd9
commit
6562c0033c
|
@ -395,7 +395,7 @@ would delegate interpolation calls to ``string.Template``::
|
|||
field_values[expr] = values[field_num]
|
||||
return field_values
|
||||
|
||||
And would could then be invoked as::
|
||||
And could then be invoked as::
|
||||
|
||||
# _ = i18n at top of module or injected into the builtins module
|
||||
print(_(i"This is a $translated $message"))
|
||||
|
@ -469,7 +469,7 @@ For interoperability with interfaces that only accept strings, interpolation
|
|||
templates can be prerendered with ``str``, rather than delegating the rendering
|
||||
to the called function.
|
||||
|
||||
This reflects the key difference from PEP 498, which *always* eagerly applies]
|
||||
This reflects the key difference from PEP 498, which *always* eagerly applies
|
||||
the default rendering, without any convenient way to decide to do something
|
||||
different.
|
||||
|
||||
|
|
Loading…
Reference in New Issue