diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2009-09-13 07:54:02 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2009-09-13 07:54:02 (GMT) |
commit | 985e24dcf7368894f945c360c383059a21b1ba0b (patch) | |
tree | 4736769c0e526b53c8a98c3dfd213e5bf9c89bb1 /Doc/library/winreg.rst | |
parent | b5845056da831ee3bad9400d5fe9dcd88f9ae534 (diff) | |
download | cpython-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.rst | 8 |
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) |