Skip to content
Merged
Prev Previous commit
Next Next commit
Fix type-ignore
  • Loading branch information
Aniketsy committed Oct 13, 2025
commit 5b67c6ee0522affc93ea07a7c127e1711b3fed57
2 changes: 1 addition & 1 deletion pandas/io/excel/_xlsxwriter.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def __init__( # pyright: ignore[reportInconsistentConstructor]
)

try:
self._book = Workbook(self._handles.handle, **engine_kwargs) # type: ignore[arg-type]
self._book = Workbook(self._handles.handle, **engine_kwargs)
except TypeError:
self._handles.handle.close()
raise
Expand Down
Loading