1970 @param name variable name |
1970 @param name variable name |
1971 @type str |
1971 @type str |
1972 @param path registry path of the variable |
1972 @param path registry path of the variable |
1973 @type str |
1973 @type str |
1974 @return value of requested registry variable |
1974 @return value of requested registry variable |
1975 @rtype any |
1975 @rtype Any |
1976 """ |
1976 """ |
1977 try: |
1977 try: |
1978 import winreg # noqa: I101, I103 |
1978 import winreg # noqa: I101, I103 |
1979 except ImportError: |
1979 except ImportError: |
1980 return None |
1980 return None |