mirror of
https://github.com/kennethreitz/dive-into-python3.git
synced 2026-06-05 23:10:17 +00:00
typo
This commit is contained in:
@@ -729,7 +729,7 @@ class FieldStorage:
|
||||
<tr><th>
|
||||
<td>do something special when leaving a <code>with</code> block
|
||||
<td><code class=pp>with x:</code>
|
||||
<td><a href=http://www.python.org/doc/3.1/reference/datamodel.html#object.__exit__><code>x.<dfn>__exit__</dfn>()</code></a>
|
||||
<td><a href=http://www.python.org/doc/3.1/reference/datamodel.html#object.__exit__><code>x.<dfn>__exit__</dfn>(<var>exc_type</var>, <var>exc_value</var>, <var>traceback</var>)</code></a>
|
||||
</table>
|
||||
|
||||
<p>This is how the <a href=files.html#with><code>with <var>file</var></code> idiom</a> works.
|
||||
|
||||
Reference in New Issue
Block a user