Skip to content
Myr

Merge pull request #1123 from blueyed/fix-typo

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

authored by David Lord · committed by GitHub · parents 4fe03da, 390556c · 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.

Trailers

  • minor: fix typo in docstring

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:jinja2/environment.py+1 added-1 removed
1040 unmodified lines
1041 def new_context(self, vars=None, shared=False, locals=None):1042 """Create a new :class:`Context` for this template. The vars1043 provided will be passed to the template. Per default the globals1044 are added to the context. If shared is set to `True` the data1045 is passed as it to the context without adding the globals.1045 is passed as is to the context without adding the globals.10461047 `locals` can be a dict of local variables for internal usage.1048 """1049 return new_context(self.environment, self.name, self.blocks,
215 unmodified lines