MartinThoma / openpyxl-stubs

Type stubs for openpyxl
MIT License
9 stars 9 forks source link

fix: Workbook.save() can also accept BytesIO; add 'active' property #2

Closed gjcarneiro closed 3 years ago

gjcarneiro commented 3 years ago

Workbook.save() can also accept BytesIO; add 'active' property

gjcarneiro commented 3 years ago

Erm. to clarify about save(). If you look at the source code, the parameter is called filename, but it is passed verbatim into ZipFile, as the first parameter (file) which can either be a file path or a file-like object.

MartinThoma commented 3 years ago

Thank you very much!

gjcarneiro commented 3 years ago

Thank you very much!

And thank you even more for creating this repo, appreciate it! :+1: