summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.