From 3159c861664eed1a3f82b4b4313ba15b7436a18c Mon Sep 17 00:00:00 2001 From: Petr Zemek Date: Mon, 27 Oct 2014 11:45:00 +0100 Subject: [PATCH] Unify the uses of "sourcecode" vs "source code". Use "source code", which is more grammatically correct. --- docs/license.rst | 2 +- docs/patterns/fabric.rst | 2 +- docs/tutorial/index.rst | 2 +- flask/signals.py | 2 +- flask/templating.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/license.rst b/docs/license.rst index 38777e66..696ee676 100644 --- a/docs/license.rst +++ b/docs/license.rst @@ -26,7 +26,7 @@ documentation. - "AUTHORS" hereby refers to all the authors listed in the :ref:`authors` section. -- The ":ref:`flask-license`" applies to all the sourcecode shipped as +- The ":ref:`flask-license`" applies to all the source code shipped as part of Flask (Flask itself as well as the examples and the unittests) as well as documentation. diff --git a/docs/patterns/fabric.rst b/docs/patterns/fabric.rst index 873bf47a..bdbfa634 100644 --- a/docs/patterns/fabric.rst +++ b/docs/patterns/fabric.rst @@ -32,7 +32,7 @@ hosts. These hosts can be defined either in the fabfile or on the command line. In this case we will add them to the fabfile. This is a basic first example that has the ability to upload the current -sourcecode to the server and install it into a pre-existing +source code to the server and install it into a pre-existing virtual environment:: from fabric.api import * diff --git a/docs/tutorial/index.rst b/docs/tutorial/index.rst index beb22709..326cea9f 100644 --- a/docs/tutorial/index.rst +++ b/docs/tutorial/index.rst @@ -11,7 +11,7 @@ features everything you need to get started. We will use Flask and SQLite as database which comes out of the box with Python, so there is nothing else you need. -If you want the full sourcecode in advance or for comparison, check out +If you want the full source code in advance or for comparison, check out the `example source`_. .. _example source: diff --git a/flask/signals.py b/flask/signals.py index 5951128b..cc584a6c 100644 --- a/flask/signals.py +++ b/flask/signals.py @@ -42,7 +42,7 @@ except ImportError: _signals = Namespace() -# Core signals. For usage examples grep the sourcecode or consult +# Core signals. For usage examples grep the source code or consult # the API documentation in docs/api.rst as well as docs/signals.rst template_rendered = _signals.signal('template-rendered') request_started = _signals.signal('request-started') diff --git a/flask/templating.py b/flask/templating.py index 9334e0d6..8ec0d02d 100644 --- a/flask/templating.py +++ b/flask/templating.py @@ -127,7 +127,7 @@ def render_template_string(source, **context): """Renders a template from the given template source string with the given context. - :param source: the sourcecode of the template to be + :param source: the source code of the template to be rendered :param context: the variables that should be available in the context of the template.