Skip to content

Commit

Permalink
Refer to nested suites as "nesting"
Browse files Browse the repository at this point in the history
The term "scoping" has a specific meaning in Python (related to variable
scopes), so it's preferable to use another term like "nesting" to
refer to nested suites.
  • Loading branch information
ncoghlan committed Mar 23, 2016
1 parent 10600b6 commit c801604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorials/buttons.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ It's obvious that the main tasks are broken down into sub-tasks that are
``Bacon`` and ``Tomatoes`` are obviously related to ``Shopping``. By indenting
things we make it easy to see, at a glance, how the tasks relate to each other.

This is called *scoping*. We use scoping to define blocks of code like this::
This is called *nesting*. We use nesting to define blocks of code like this::

from microbit import *

Expand Down

0 comments on commit c801604

Please sign in to comment.