From: Georg Brandl Date: Sun, 25 Apr 2010 10:56:41 +0000 (+0000) Subject: Fix code example to have valid syntax so that it can be highlighted. X-Git-Tag: v2.7b2~194 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1e518258c95eacb00831c6ef408b1c61792c46cb;p=python Fix code example to have valid syntax so that it can be highlighted. --- diff --git a/Doc/library/_winreg.rst b/Doc/library/_winreg.rst index 01a8f37616..67c4c6b07b 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.