Skip to content

Commit 8b38239

Browse files
author
Sarthak Vineet Kumar
authored
CLN remove unnecessary trailing commas in pandas/io (#36052)
1 parent a0c8168 commit 8b38239

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas/io/sas/sas_xport.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ class XportReader(ReaderBase, abc.Iterator):
244244
__doc__ = _xport_reader_doc
245245

246246
def __init__(
247-
self, filepath_or_buffer, index=None, encoding="ISO-8859-1", chunksize=None,
247+
self, filepath_or_buffer, index=None, encoding="ISO-8859-1", chunksize=None
248248
):
249249

250250
self._encoding = encoding

pandas/io/stata.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1980,7 +1980,7 @@ def _open_file_binary_write(
19801980
compression_typ = infer_compression(fname, compression_typ)
19811981
compression = dict(compression_args, method=compression_typ)
19821982
ioargs = get_filepath_or_buffer(
1983-
fname, mode="wb", compression=compression, storage_options=storage_options,
1983+
fname, mode="wb", compression=compression, storage_options=storage_options
19841984
)
19851985
f, _ = get_handle(
19861986
ioargs.filepath_or_buffer,

0 commit comments

Comments
 (0)