Skip to content
Myr

Fix typo in clear_caches docstring

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

authored by Marcelo Jorge Vieira · committed by Adrian · parent 312cf9a · Browse files · 1 file+1 added−1 removed
This commit

State

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

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:jinja2/utils.py+1 added-1 removed
107 unmodified lines
108def clear_caches():109 """Jinja2 keeps internal caches for environments and lexers. These are110 used so that Jinja2 doesn't have to recreate environments and lexers all111 the time. Normally you don't have to care about that but if you are112 messuring memory consumption you may want to clean the caches.112 measuring memory consumption you may want to clean the caches.113 """114 from jinja2.environment import _spontaneous_environments115 from jinja2.lexer import _lexer_cache116 _spontaneous_environments.clear()
415 unmodified lines