Skip to content
Myr

Fixed a typo

Before adoption: this commit came in with the history the project adopted, so no landing records it.

--HG-- branch : trunk

authored by Armin Ronacher · committed by Armin Ronacher · parent 5e58d43 · Browse files · 2 files+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+2 added−2 removed

  • other:+2 added−2 removed

2 files+2 added−2 removed

modified:docs/jinjaext.py+1 added-1 removed
144 unmodified lines
145 changelog = file(os.path.join(os.path.dirname(jinja2.__file__), '..',146 'CHANGES'))147 try:148 for line in islice(changelog, 3, None):149 doc.append(line.rstrip(), '<jinjaext>')149 doc.append(line.rstrip().decode('utf-8'), '<jinjaext>')150 finally:151 changelog.close()152 return parse_rst(state, content_offset, doc)153
63 unmodified lines
modified:jinja2/environment.py+1 added-1 removed
51 unmodified lines
5253def copy_cache(cache):54 """Create an empty copy of the given cache."""55 if cache is None:56 return Noe56 return None57 elif type(cache) is dict:58 return {}59 return LRUCache(cache.capacity)60
788 unmodified lines