Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Fixed typos: overriden to overridden #188

merged 1 commit into from

2 participants


Not sure if this is too pedantic to submit. Also not sure if I should have submitted it as several commits/pull requests or not since it mixes fixes in documentation and code. Let me know if you want it some other way.

I found it while looking at CPython which pulls in jinja2.

@mitsuhiko mitsuhiko merged commit 77e0fa2 into mitsuhiko:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 23, 2013
  1. @lemonad
This page is out of date. Refresh to see the latest.
2  docs/faq.rst
@@ -174,7 +174,7 @@ harder to maintain the code for older Python versions. If you really need
Python 2.3 support you either have to use `Jinja 1`_ or other templating
engines that still support 2.3.
-My Macros are overriden by something
+My Macros are overridden by something
In some situations the Jinja scoping appears arbitrary:
2  ext/django2jinja/
@@ -609,7 +609,7 @@ def width_ratio(writer, node):
def with_block(writer, node):
writer.warn('with block expanded into set statement. This could cause '
- 'variables following that block to be overriden.', node)
+ 'variables following that block to be overridden.', node)
writer.write('set %s = ' %
6 jinja2/
@@ -663,16 +663,16 @@ def function_scoping(self, node, frame, children=None,
# it without aliasing all the variables.
# this could be fixed in Python 3 where we have the nonlocal
# keyword or if we switch to bytecode generation
- overriden_closure_vars = (
+ overridden_closure_vars = (
func_frame.identifiers.undeclared &
func_frame.identifiers.declared &
(func_frame.identifiers.declared_locally |
- if overriden_closure_vars:
+ if overridden_closure_vars:'It\'s not possible to set and access variables '
'derived from an outer scope! (affects: %s)' %
- ', '.join(sorted(overriden_closure_vars)), node.lineno)
+ ', '.join(sorted(overridden_closure_vars)), node.lineno)
# remove variables from a closure from the frame's undeclared
# identifiers.
2  jinja2/
@@ -114,7 +114,7 @@ def is_internal_attribute(obj, attr):
"""Test if the attribute given is an internal python attribute. For
example this function returns `True` for the `func_code` attribute of
python objects. This is useful if the environment method
- :meth:`~SandboxedEnvironment.is_safe_attribute` is overriden.
+ :meth:`~SandboxedEnvironment.is_safe_attribute` is overridden.
>>> from jinja2.sandbox import is_internal_attribute
>>> is_internal_attribute(lambda: None, "func_code")
Something went wrong with that request. Please try again.