@@ -20,7 +20,7 @@ simple stages to say "hello" and "goodbye".
20
20
:language: python
21
21
:linenos:
22
22
:lines: 10-
23
- :emphasize-lines: 9-10,13-14,19-20
23
+ :emphasize-lines: 8-9,12-13,18-19
24
24
:caption: ``example/ex_0_the_basics.py ``
25
25
26
26
The two methods ``say_hello() `` and ``say_goodbye() `` are stand-ins for
@@ -73,7 +73,7 @@ by adding the following to the ``MyScript`` class:
73
73
.. literalinclude :: ../../example/ex_1_removing_the_retry_arguments.py
74
74
:language: python
75
75
:linenos:
76
- :lines: 28-40
76
+ :lines: 27-39
77
77
:caption: ``example/ex_1_removing_the_retry_arguments.py ``
78
78
79
79
.. note ::
@@ -109,7 +109,7 @@ that case, you can add the highlighted line:
109
109
.. literalinclude :: ../../example/ex_2_running_certain_stages_by_default.py
110
110
:language: python
111
111
:linenos:
112
- :lines: 28-30,42-43
112
+ :lines: 27-29,41-42
113
113
:emphasize-lines: 4
114
114
:caption: ``example/ex_2_running_certain_stages_by_default.py ``
115
115
@@ -138,7 +138,7 @@ Now let's see about adding some arguments to the parser beyond what
138
138
.. literalinclude :: ../../example/ex_3_adding_arguments.py
139
139
:language: python
140
140
:linenos:
141
- :lines: 33-35,46-58
141
+ :lines: 32-34,45-57
142
142
:emphasize-lines: 4-15
143
143
:caption: ``example/ex_3_adding_arguments.py ``
144
144
@@ -149,7 +149,7 @@ arguments to handle these new options. You can do so by extending the
149
149
.. literalinclude :: ../../example/ex_3_adding_arguments.py
150
150
:language: python
151
151
:linenos:
152
- :lines: 60-71
152
+ :lines: 59-70
153
153
:caption: ``example/ex_3_adding_arguments.py ``
154
154
155
155
.. note ::
@@ -166,7 +166,7 @@ the two stages to take them into account.
166
166
.. literalinclude :: ../../example/ex_3_adding_arguments.py
167
167
:language: python
168
168
:linenos:
169
- :lines: 21-31
169
+ :lines: 20-30
170
170
:emphasize-lines: 4,10
171
171
:caption: ``example/ex_3_adding_arguments.py ``
172
172
@@ -193,7 +193,7 @@ overridden in your subclasses.
193
193
.. literalinclude :: ../../example/ex_4_customizing_stage_behavior.py
194
194
:language: python
195
195
:linenos:
196
- :lines: 73-94
196
+ :lines: 72-93
197
197
:caption: ``example/ex_4_customizing_stage_behavior.py ``
198
198
199
199
.. note ::
@@ -243,7 +243,7 @@ is the name of the stage as provided to the :ref:`StagedScript.stage()
243
243
.. literalinclude :: ../../example/ex_5_customizing_individual_stages.py
244
244
:language: python
245
245
:linenos:
246
- :lines: 96-113
246
+ :lines: 95-112
247
247
:caption: ``example/ex_5_customizing_individual_stages.py ``
248
248
249
249
Now when we run both stages we see:
0 commit comments