summaryrefslogtreecommitdiffstats
path: root/Doc/library/winreg.rst
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2009-09-13 07:54:02 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2009-09-13 07:54:02 (GMT)
commit985e24dcf7368894f945c360c383059a21b1ba0b (patch)
tree4736769c0e526b53c8a98c3dfd213e5bf9c89bb1 /Doc/library/winreg.rst
parentb5845056da831ee3bad9400d5fe9dcd88f9ae534 (diff)
downloadcpython-985e24dcf7368894f945c360c383059a21b1ba0b.zip
cpython-985e24dcf7368894f945c360c383059a21b1ba0b.tar.gz
cpython-985e24dcf7368894f945c360c383059a21b1ba0b.tar.bz2
fixed more examples that were using u"", print without () and unicode/str instead of str/bytes
Diffstat (limited to 'Doc/library/winreg.rst')
-rw-r--r--Doc/library/winreg.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/winreg.rst b/Doc/library/winreg.rst
index f048067..ad46bc3 100644
--- a/Doc/library/winreg.rst
+++ b/Doc/library/winreg.rst
@@ -130,12 +130,12 @@ This module offers the following functions:
+-------+--------------------------------------------+
-.. function:: ExpandEnvironmentStrings(unicode)
+.. function:: ExpandEnvironmentStrings(str)
- Expands environment strings %NAME% in unicode string like const:`REG_EXPAND_SZ`::
+ Expands environment strings %NAME% in unicode string like :const:`REG_EXPAND_SZ`::
- >>> ExpandEnvironmentStrings(u"%windir%")
- u"C:\\Windows"
+ >>> ExpandEnvironmentStrings('%windir%')
+ 'C:\\Windows'
.. function:: FlushKey(key)