File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -551,7 +551,7 @@ addition of the ``{}`` and with ``:`` used instead of ``%``.
551
551
For example, ``'%03.2f' `` can be translated to ``'{:03.2f}' ``.
552
552
553
553
The new format syntax also supports new and different options, shown in the
554
- follow examples.
554
+ following examples.
555
555
556
556
Accessing arguments by position::
557
557
@@ -739,7 +739,7 @@ these rules. The methods of :class:`Template` are:
739
739
simply return ``$ `` instead of raising :exc: `ValueError `.
740
740
741
741
While other exceptions may still occur, this method is called "safe"
742
- because substitutions always tries to return a usable string instead of
742
+ because it always tries to return a usable string instead of
743
743
raising an exception. In another sense, :meth: `safe_substitute ` may be
744
744
anything other than safe, since it will silently ignore malformed
745
745
templates containing dangling delimiters, unmatched braces, or
You can’t perform that action at this time.
0 commit comments