Skip to content

Commit b7a78a3

Browse files
committed
remove trailing spaces
1 parent e4d2575 commit b7a78a3

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

source/presentations/session04.rst

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ A computer has an *environment*:
5858

5959
.. class:: small
6060

61-
::
61+
::
6262
6363
C:\> set
6464
ALLUSERSPROFILE=C:\ProgramData
@@ -76,7 +76,7 @@ This can be manipulated:
7676

7777
.. class:: small
7878

79-
::
79+
::
8080
8181
$ export VARIABLE='some value'
8282
$ echo $VARIABLE
@@ -139,7 +139,7 @@ We can see this *environment* in Python, too::
139139
>>> print os.environ['VARIABLE']
140140
some_value
141141
>>> print os.environ.keys()
142-
['VERSIONER_PYTHON_PREFER_32_BIT', 'VARIABLE',
142+
['VERSIONER_PYTHON_PREFER_32_BIT', 'VARIABLE',
143143
'LOGNAME', 'USER', 'PATH', ...]
144144
145145
Altering the Environment
@@ -183,11 +183,11 @@ Lessons Learned
183183

184184
::
185185

186-
subprocess.Popen(args, bufsize=0, executable=None,
187-
stdin=None, stdout=None, stderr=None,
188-
preexec_fn=None, close_fds=False,
186+
subprocess.Popen(args, bufsize=0, executable=None,
187+
stdin=None, stdout=None, stderr=None,
188+
preexec_fn=None, close_fds=False,
189189
shell=False, cwd=None, env=None, # <-------
190-
universal_newlines=False, startupinfo=None,
190+
universal_newlines=False, startupinfo=None,
191191
creationflags=0)
192192

193193

@@ -346,7 +346,7 @@ Back in your editor, add the following lines, just below ``import cgi``:
346346
347347
.. class:: incremental
348348

349-
Now, reload again.
349+
Now, reload again.
350350

351351
cgitb Output
352352
------------
@@ -724,7 +724,7 @@ A WSGI Appliction must:
724724

725725
.. class:: incremental small
726726

727-
* Be a callable (function, method, class)
727+
* Be a callable (function, method, class)
728728
* Take an environment and a ``start_response`` callable as arguments
729729
* Call the ``start_response`` method.
730730
* Return an iterable of 0 or more strings, which are treated as the body of
@@ -1067,7 +1067,7 @@ Dispatch
10671067
--------
10681068

10691069
We have to write an app that will map our incoming request path to some code
1070-
that can handle that request.
1070+
that can handle that request.
10711071

10721072
.. class:: incremental
10731073

@@ -1138,7 +1138,7 @@ My Solution
11381138
Application Updates
11391139
-------------------
11401140

1141-
We need to hook our new router into the application.
1141+
We need to hook our new router into the application.
11421142

11431143
.. class:: incremental
11441144

@@ -1256,7 +1256,7 @@ Click on a link to view the detail page. Does it load without error?
12561256
Showing Details
12571257
---------------
12581258

1259-
The next step of course is to polish up those detail pages.
1259+
The next step of course is to polish up those detail pages.
12601260

12611261
.. class:: incremental
12621262

@@ -1392,4 +1392,4 @@ the ``wsgiref`` module. It's the canonical example of a simple wsgi server
13921392

13931393
.. class:: incremental center
13941394

1395-
**See you Next Time**
1395+
**See you Next Time**

0 commit comments

Comments
 (0)