mirror of
https://github.com/kennethreitz/dive-into-python3.git
synced 2026-06-05 23:10:17 +00:00
clarifications and typos [h/t G.M.]
This commit is contained in:
@@ -611,6 +611,7 @@ user-agent: Python-httplib2/$Rev: 259 $'
|
||||
# continued from the previous example
|
||||
<a><samp class=p>>>> </samp><kbd class=pp>response2, content2 = h.request('http://diveintopython3.org/examples/feed-301.xml')</kbd> <span class=u>①</span></a>
|
||||
<a><samp class=p>>>> </samp><kbd class=pp>response2.fromcache</kbd> <span class=u>②</span></a>
|
||||
<samp class=pp>True</samp>
|
||||
<a><samp class=p>>>> </samp><kbd class=pp>content2 == content</kbd> <span class=u>③</span></a>
|
||||
<samp class=pp>True</samp>
|
||||
</pre>
|
||||
@@ -811,10 +812,10 @@ user-agent: Python-httplib2/$Rev: 259 $
|
||||
<samp class=p>>>> </samp><kbd class=pp>resp.status</kbd>
|
||||
<samp class=pp>200</samp></pre>
|
||||
<ol>
|
||||
<li>“Delete this status message, please.”
|
||||
<li>“Delete this status message.”
|
||||
<li>“I’m sorry, Dave, I’m afraid I can’t do that.”
|
||||
<li>“Delete this status message, please…
|
||||
<li>…here’s my username and password.”
|
||||
<li>“Unauthorized<span class=u title='interrobang!'>‽</span> Hmmph. Delete this status message, <em>please</em>…
|
||||
<li>…and here’s my username and password.”
|
||||
<li>“Consider it done!”
|
||||
</ol>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user