Spelling fixes
diff --git a/doc/build/changelog.rst b/doc/build/changelog.rst index 7d110f3..6a929fd 100644 --- a/doc/build/changelog.rst +++ b/doc/build/changelog.rst
@@ -1570,7 +1570,7 @@ :tags: bugfixes :tickets: 69 - fixed codegen bug which occured when using <%page> + fixed codegen bug which occurred when using <%page> level caching, combined with an expression-based cache_key, combined with the usage of <%namespace import="*"/> - fixed lexer exceptions not cleaning up
diff --git a/doc/build/namespaces.rst b/doc/build/namespaces.rst index 1453b80..afd323d 100644 --- a/doc/build/namespaces.rst +++ b/doc/build/namespaces.rst
@@ -399,7 +399,7 @@ Above, the file ``library.mako`` declares an attribute ``includes`` inside its global ``<%! %>`` section. -``index.mako`` includes this template using the ``<%namespace>`` tag. The base template ``base.mako``, which is the inherited parent of ``index.mako`` and is reponsible for layout, then locates this attribute and iterates through its contents to produce the includes that are specific to ``library.mako``. +``index.mako`` includes this template using the ``<%namespace>`` tag. The base template ``base.mako``, which is the inherited parent of ``index.mako`` and is responsible for layout, then locates this attribute and iterates through its contents to produce the includes that are specific to ``library.mako``. Version Two - Use a specific named def -----------------------------------------
diff --git a/mako/_ast_util.py b/mako/_ast_util.py index 8d19b0d..c410287 100644 --- a/mako/_ast_util.py +++ b/mako/_ast_util.py
@@ -187,7 +187,7 @@ def get_fields(node): - """Like `iter_fiels` but returns a dict.""" + """Like `iter_fields` but returns a dict.""" return dict(iter_fields(node))
diff --git a/mako/ext/extract.py b/mako/ext/extract.py index 8dd2e96..d777ea8 100644 --- a/mako/ext/extract.py +++ b/mako/ext/extract.py
@@ -68,7 +68,7 @@ else: continue - # Comments don't apply unless they immediately preceed the message + # Comments don't apply unless they immediately precede the message if translator_comments and \ translator_comments[-1][0] < node.lineno - 1: translator_comments = []