Skip to content

Commit f049c9a

Browse files
ngoldbaumAvasam
authored andcommitted
Update bdist_wheel.py
Co-authored-by: Avasam <[email protected]>
1 parent 8db1f5e commit f049c9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setuptools/command/bdist_wheel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ def _validate_py_limited_api(self) -> None:
292292

293293
if sysconfig.get_config_var("Py_GIL_DISABLED"):
294294
# sys.abiflags is only defined on POSIX
295-
if getattr(sys, "abiflags", ""):
295+
if hasattr(sys, "abiflags"):
296296
abinote = f" ({sys.abiflags=!r}). "
297297
else:
298298
abinote = ". "

0 commit comments

Comments
 (0)