Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d746768 commit 17bf082Copy full SHA for 17bf082
1 file changed
Lib/ctypes/util.py
@@ -104,7 +104,7 @@ def _findLib_gcc(name):
104
if e.errno != errno.ENOENT:
105
raise
106
if rv == 10:
107
- raise OSError, 'gcc or cc command not found'
+ raise OSError('gcc or cc command not found')
108
res = re.search(expr, trace)
109
if not res:
110
return None
@@ -137,7 +137,7 @@ def _get_soname(f):
137
dump = f.read()
138
rv = f.close()
139
140
- raise OSError, 'objdump command not found'
+ raise OSError('objdump command not found')
141
f = os.popen(cmd)
142
try:
143
data = f.read()
0 commit comments