From 1e518258c95eacb00831c6ef408b1c61792c46cb Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 25 Apr 2010 10:56:41 +0000 Subject: Fix code example to have valid syntax so that it can be highlighted. --- Doc/library/_winreg.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v0.12