Fix code example to have valid syntax so that it can be highlighted.

This commit is contained in:
Georg Brandl 2010-04-25 10:56:41 +00:00
parent bb091e733c
commit 1e518258c9
1 changed files with 1 additions and 1 deletions

View File

@ -554,7 +554,7 @@ integer handle, and also disconnect the Windows handle from the handle object.
:keyword:`with` statement::
with OpenKey(HKEY_LOCAL_MACHINE, "foo") as key:
# ... work with key ...
... # work with key
will automatically close *key* when control leaves the :keyword:`with` block.