mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
#4811: fix markup glitches (mostly remains of the conversion),
found by Gabriel Genellina.
This commit is contained in:
parent
511048673f
commit
fc29f27c16
19 changed files with 42 additions and 39 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue