diff options
author | Greg Ward <gward@python.net> | 2000-06-29 22:59:10 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-06-29 22:59:10 (GMT) |
commit | cd079c4c28e614a6057fa1351d3ac82160cae330 (patch) | |
tree | 52d35132cd753a75120ee63459b6585173db7061 /Lib | |
parent | f34506a3d4eb2260cf0d88047cd1ac9481fdc376 (diff) | |
download | cpython-cd079c4c28e614a6057fa1351d3ac82160cae330.zip cpython-cd079c4c28e614a6057fa1351d3ac82160cae330.tar.gz cpython-cd079c4c28e614a6057fa1351d3ac82160cae330.tar.bz2 |
Changed to use _winreg module instead of winreg.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/distutils/msvccompiler.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Lib/distutils/msvccompiler.py b/Lib/distutils/msvccompiler.py index db8bd35..6acd4ef 100644 --- a/Lib/distutils/msvccompiler.py +++ b/Lib/distutils/msvccompiler.py @@ -20,14 +20,14 @@ from distutils.ccompiler import \ _can_read_reg = 0 try: - import winreg + import _winreg _can_read_reg = 1 - hkey_mod = winreg + hkey_mod = _winreg - RegOpenKeyEx = winreg.OpenKeyEx - RegEnumKey = winreg.EnumKey - RegEnumValue = winreg.EnumValue - RegError = winreg.error + RegOpenKeyEx = _winreg.OpenKeyEx + RegEnumKey = _winreg.EnumKey + RegEnumValue = _winreg.EnumValue + RegError = _winreg.error except ImportError: try: |