commit | 1e518258c95eacb00831c6ef408b1c61792c46cb | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sun Apr 25 10:56:41 2010 +0000 |
committer | Georg Brandl <georg@python.org> | Sun Apr 25 10:56:41 2010 +0000 |
tree | 9643bba7540c2859d99a7dd834a87e01d4990408 | |
parent | bb091e733c232290fdbc998083d17e5efd0a77f4 [diff] |
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 01a8f37..67c4c6b 100644 --- a/Doc/library/_winreg.rst +++ b/Doc/library/_winreg.rst
@@ -554,7 +554,7 @@ :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.