]> granicus.if.org Git - python/commitdiff
Fix code example to have valid syntax so that it can be highlighted.
authorGeorg Brandl <georg@python.org>
Sun, 25 Apr 2010 10:56:41 +0000 (10:56 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 25 Apr 2010 10:56:41 +0000 (10:56 +0000)
Doc/library/_winreg.rst

index 01a8f376165371f3f00a4300c8adb0616e4be93c..67c4c6b07b041d3ba4de0f6c3da5bdafbcc9b341 100644 (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.