format.py: Fix some commentary typos.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 10 Sep 2019 19:42:49 +0000 (20:42 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 10 Sep 2019 19:42:49 +0000 (20:42 +0100)
format.py

index af76c59..2b90cb9 100644 (file)
--- a/format.py
+++ b/format.py
@@ -296,7 +296,7 @@ class NextArg (BaseArg):
     else: return None
 
 NEXTARG = NextArg()
-## Because `NextArg' collectors are used so commonly, and they're all the
+## Because `NextArg' collectors are used so commonly, and they're all the
 ## same, we make a distinguished one and try to use that instead.  Nothing
 ## goes badly wrong if you don't use this, but you'll use more memory than
 ## strictly necessary.
@@ -528,7 +528,7 @@ VARNEXT = VariableParameter(NEXTARG)
 ##      whether the `@' and `:' modifiers were set in the control string.
 ##      GETARG is the collector for the operation's argument(s).  The PARAMS
 ##      are a list of parameter collectors.  Finally, CHAR is the directive
-##      character (so directives with siilar behaviour can use the same
+##      character (so directives with similar behaviour can use the same
 ##      class).
 
 class FormatLiteral (object):