Skip to content

Commit aad1d6d

Browse files
committed
Minor text and grammar fixes
1 parent 724ea0f commit aad1d6d

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

doc/foreword.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Python. The visual programming language is based on the idea of a diagram with
1616
"boxes and arrows".
1717

1818
The Pythonect interpreter (and reference implementation) is a free and open
19-
source software written in completely Python, and is available under the BSD
19+
source software written completely in Python, and is available under the BSD
2020
license.
2121

2222
Why Pythonect?

doc/tutorial/controlflow.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ determine whether to terminate or continue the flow.
2121
:const:`True` as Pass-through
2222
-----------------------------
2323

24-
Whenever a Python expression or function returns :const:`True`. The current
25-
value in the flow is pushed to the next operation. For example:
24+
Whenever a Python expression or function returns :const:`True` the current
25+
value in the flow is pushed to the next operation. For example:
2626
::
2727

2828
1 -> [_ < 2] -> print
@@ -42,8 +42,8 @@ Will print ``"Hello, world"`` because ``startswith`` method returned :const:`Tru
4242
:const:`False` as Terminator
4343
----------------------------
4444

45-
Whenever a Python expression or function returns :const:`False`. The current
46-
flow terminates and returns False. For example:
45+
Whenever a Python expression or function returns :const:`False` the current
46+
flow terminates and returns False. For example:
4747
::
4848

4949
"Hello, world" -> _.startswith('ello') -> print

doc/tutorial/helloworld.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Hello World Program
66
Pythonect provides both a visual programming language and a text-based
77
scripting language.
88

9-
The following is an example Hello world program in both, visual
10-
and text-based languages. Both versions consist of the same flow.
9+
The following is an example Hello world program in both visual and text-based
10+
languages. Both versions consist of the same flow.
1111

1212

1313
.. _tut-visualexample:
@@ -16,7 +16,7 @@ Visual Programming Version
1616
--------------------------
1717

1818
Pythonect supports multiple graph describing languages and diagram formats.
19-
For the Hello world program, I will be using `Dia
19+
For the Hello world example I will be using `Dia
2020
<https://wiki.gnome.org/Dia/>`_.
2121

2222
:program:`Dia` is a free and open source general-purpose diagramming software.

doc/tutorial/vars.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ This will print, each in its own thread, and not necessarily in that order:
7070
:const:`1`, :const:`1`, :const:`0.34`, and :const:`"Hello world"`.
7171

7272

73-
Predefine Variables
74-
===================
73+
Predefined Variables
74+
====================
7575

7676
Pythonect predefines two variables: ``_`` and ``_!``
7777

0 commit comments

Comments
 (0)