summaryrefslogtreecommitdiffstats
path: root/Doc/howto
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-01-02 20:25:14 (GMT)
committerGeorg Brandl <georg@python.org>2009-01-02 20:25:14 (GMT)
commitfc29f27c162a236d2d879ab3fb803110628a0ccf (patch)
treecc68b3ee5ebf96d0e63161394c80a499f21ecae5 /Doc/howto
parent511048673f8635b12f683eb9fc09f42c8ab871c7 (diff)
downloadcpython-fc29f27c162a236d2d879ab3fb803110628a0ccf.zip
cpython-fc29f27c162a236d2d879ab3fb803110628a0ccf.tar.gz
cpython-fc29f27c162a236d2d879ab3fb803110628a0ccf.tar.bz2
#4811: fix markup glitches (mostly remains of the conversion),
found by Gabriel Genellina.
Diffstat (limited to 'Doc/howto')
-rw-r--r--Doc/howto/functional.rst2
-rw-r--r--Doc/howto/urllib2.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/howto/functional.rst b/Doc/howto/functional.rst
index b717f80..6318e12 100644
--- a/Doc/howto/functional.rst
+++ b/Doc/howto/functional.rst
@@ -585,7 +585,7 @@ And here's an example of changing the counter:
9
>>> print it.next()
Traceback (most recent call last):
- File ``t.py'', line 15, in ?
+ File "t.py", line 15, in ?
print it.next()
StopIteration
diff --git a/Doc/howto/urllib2.rst b/Doc/howto/urllib2.rst
index 72f394a..6e1a2f3 100644
--- a/Doc/howto/urllib2.rst
+++ b/Doc/howto/urllib2.rst
@@ -470,7 +470,7 @@ than the URL you pass to .add_password() will also match. ::
password_mgr = urllib2.HTTPPasswordMgrWithDefaultRealm()
# Add the username and password.
- # If we knew the realm, we could use it instead of ``None``.
+ # If we knew the realm, we could use it instead of None.
top_level_url = "http://example.com/foo/"
password_mgr.add_password(None, top_level_url, username, password)