From: Georg Brandl Date: Fri, 19 Sep 2008 09:55:17 +0000 (+0000) Subject: Some typos. X-Git-Tag: 2.1~18^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3e497b7ad8605267c8116db70c95dd9f369e9076;p=jinja2.git Some typos. --HG-- branch : trunk --- diff --git a/jinja2/bccache.py b/jinja2/bccache.py index de6d2b4..e11bad5 100644 --- a/jinja2/bccache.py +++ b/jinja2/bccache.py @@ -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: diff --git a/jinja2/environment.py b/jinja2/environment.py index a64b469..fa8ad6c 100644 --- a/jinja2/environment.py +++ b/jinja2/environment.py @@ -24,9 +24,9 @@ _spontaneous_environments = LRUCache(10) 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) @@ -528,7 +528,7 @@ class Template(object): 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