From: David Brochart Date: Fri, 7 Feb 2020 12:30:35 +0000 (+0100) Subject: Fix async doc X-Git-Tag: 2.11.2~11^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c1b535c357f484cc43091c5287a6ccd1aa45814;p=thirdparty%2Fjinja.git Fix async doc --- diff --git a/docs/api.rst b/docs/api.rst index 871b326f..f342ebee 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -543,7 +543,7 @@ understand because it has some impact to what you are doing: * template rendering will require an event loop to be set for the current thread (``asyncio.get_event_loop`` needs to return one) * all template generation code internally runs async generators which - means that you will pay a performance penalty even if the non sync + means that you will pay a performance penalty even if the non async methods are used! * The sync methods are based on async methods if the async mode is enabled which means that `render` for instance will internally invoke