mirror of
https://github.com/kennethreitz/dive-into-python3.git
synced 2026-06-05 23:10:17 +00:00
fixed validation errors
This commit is contained in:
@@ -186,12 +186,12 @@ for (var i = arTables.length - 1; i >= 0; i--) {
|
||||
</tr>
|
||||
<tr>
|
||||
<th>①</th>
|
||||
<td><code>if x <> y:</code></td>
|
||||
<td><code>if x <> y:</code></td>
|
||||
<td><code>if x != y:</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>②</th>
|
||||
<td><code>if x <> y <> z:</code></td>
|
||||
<td><code>if x <> y <> z:</code></td>
|
||||
<td><code>if x != y != z:</code></td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -311,7 +311,7 @@ for (var i = arTables.length - 1; i >= 0; i--) {
|
||||
<section>
|
||||
<h3 id="http"><code>http</code> package</h3>
|
||||
|
||||
In Python 3, several related HTTP modules have been combined into a single package, <code>http</code>.</p>
|
||||
<p>In Python 3, several related HTTP modules have been combined into a single package, <code>http</code>.</p>
|
||||
|
||||
<p><a class="skip" href="#skipcompareimporthttp">skip over this table</a></p>
|
||||
<table id="compareimporthttp">
|
||||
@@ -703,7 +703,7 @@ except ImportError:
|
||||
<th>①</th>
|
||||
<td><code>reduce(a, b, c)</code></td>
|
||||
<td><pre><code>from functtools import reduce
|
||||
reduce(a, b, c)</code></td>
|
||||
reduce(a, b, c)</code></pre></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user