issues
search
Blosc
/
python-blosc
A Python wrapper for the extremely fast Blosc compression library
https://www.blosc.org/python-blosc/python-blosc.html
Other
350
stars
73
forks
source link
Apply some pyupgrade suggestions
#301
Closed
DimitriPapadopoulos
closed
1 year ago
DimitriPapadopoulos
commented
1 year ago
The default mode of
open()
is
'r'
, a synonym of
'rt'
:
https://docs.python.org/3/library/functions.html#open
IOError
is kept for compatibility with previous versions; starting from Python 3.3, it is an alias of
OSError
:
https://docs.python.org/3/library/exceptions.html#IOError
FrancescAlted
commented
1 year ago
LGTM
open()
is'r'
, a synonym of'rt'
: https://docs.python.org/3/library/functions.html#openIOError
is kept for compatibility with previous versions; starting from Python 3.3, it is an alias ofOSError
: https://docs.python.org/3/library/exceptions.html#IOError