[Python-checkins] r80469 - python/trunk/Doc/library/_winreg.rst

georg.brandl python-checkins at python.org
Sun Apr 25 12:56:42 CEST 2010


Author: georg.brandl
Date: Sun Apr 25 12:56:41 2010
New Revision: 80469

Log:
Fix code example to have valid syntax so that it can be highlighted.

Modified:
   python/trunk/Doc/library/_winreg.rst

Modified: python/trunk/Doc/library/_winreg.rst
==============================================================================
--- python/trunk/Doc/library/_winreg.rst	(original)
+++ python/trunk/Doc/library/_winreg.rst	Sun Apr 25 12:56:41 2010
@@ -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.
 


More information about the Python-checkins mailing list