Permalink
Browse files

Fix documentation for flask.render_template_string. Fixes issue #377

Thanks for 'valler' for noticing the typo.
  • Loading branch information...
1 parent 7ba5196 commit 31dafccc0097aa461f0849e31b08cfa858dda846 @plaes committed Feb 1, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 flask/templating.py
View
@@ -127,8 +127,7 @@ def render_template_string(source, **context):
"""Renders a template from the given template source string
with the given context.
- :param template_name: the sourcecode of the template to be
- rendered
+ :param source: the sourcecode of the template to be rendered
:param context: the variables that should be available in the
context of the template.
"""

0 comments on commit 31dafcc

Please sign in to comment.