summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-04-25 10:56:41 (GMT)
committerGeorg Brandl <georg@python.org>2010-04-25 10:56:41 (GMT)
commit1e518258c95eacb00831c6ef408b1c61792c46cb (patch)
tree9643bba7540c2859d99a7dd834a87e01d4990408 /Doc
parentbb091e733c232290fdbc998083d17e5efd0a77f4 (diff)
downloadcpython-1e518258c95eacb00831c6ef408b1c61792c46cb.zip
cpython-1e518258c95eacb00831c6ef408b1c61792c46cb.tar.gz
cpython-1e518258c95eacb00831c6ef408b1c61792c46cb.tar.bz2
Fix code example to have valid syntax so that it can be highlighted.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/_winreg.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/_winreg.rst b/Doc/library/_winreg.rst
index 01a8f37..67c4c6b 100644
--- a/Doc/library/_winreg.rst
+++ b/Doc/library/_winreg.rst
@@ -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.