Skip to content

Commit

Permalink
Some typos.
Browse files Browse the repository at this point in the history
--HG--
branch : trunk
  • Loading branch information
birkenfeld committed Sep 19, 2008
1 parent 1b54f74 commit 3e497b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion jinja2/bccache.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ class MemcachedBytecodeCache(BytecodeCache):
(Unfortunately the django cache interface is not compatible because it
does not support storing binary data, only unicode. You can however pass
the underlaying cache client to the bytecode cache which is available
the underlying cache client to the bytecode cache which is available
as `django.core.cache.cache._client`.)
The minimal interface for the client passed to the constructor is this:
Expand Down
8 changes: 4 additions & 4 deletions jinja2/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@


def get_spontaneous_environment(*args):
"""Return a new spontaneus environment. A spontaneus environment is an
unnamed and unaccessable (in theory) environment that is used for
template generated from a string and not from the file system.
"""Return a new spontaneous environment. A spontaneous environment is an
unnamed and unaccessible (in theory) environment that is used for
templates generated from a string and not from the file system.
"""
try:
env = _spontaneous_environments.get(args)
Expand Down Expand Up @@ -528,7 +528,7 @@ def from_code(cls, environment, code, globals, uptodate=None):
t.filename = code.co_filename
t.blocks = namespace['blocks']

# render function and module
# render function and module
t.root_render_func = namespace['root']
t._module = None

Expand Down

0 comments on commit 3e497b7

Please sign in to comment.