Skip to content

Commit

Permalink
CLN remove unnecessary trailing commas in pandas/io (#36052)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarthak Vineet Kumar authored Sep 3, 2020
1 parent a0c8168 commit 8b38239
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pandas/io/sas/sas_xport.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ class XportReader(ReaderBase, abc.Iterator):
__doc__ = _xport_reader_doc

def __init__(
self, filepath_or_buffer, index=None, encoding="ISO-8859-1", chunksize=None,
self, filepath_or_buffer, index=None, encoding="ISO-8859-1", chunksize=None
):

self._encoding = encoding
Expand Down
2 changes: 1 addition & 1 deletion pandas/io/stata.py
Original file line number Diff line number Diff line change
Expand Up @@ -1980,7 +1980,7 @@ def _open_file_binary_write(
compression_typ = infer_compression(fname, compression_typ)
compression = dict(compression_args, method=compression_typ)
ioargs = get_filepath_or_buffer(
fname, mode="wb", compression=compression, storage_options=storage_options,
fname, mode="wb", compression=compression, storage_options=storage_options
)
f, _ = get_handle(
ioargs.filepath_or_buffer,
Expand Down

0 comments on commit 8b38239

Please sign in to comment.