summaryrefslogtreecommitdiffstats
path: root/Doc/library/winreg.rst
diff options
context:
space:
mode:
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)