Skip to content

Commit 0202078

Browse files
committed
CLN: More cleanup and comments
1 parent e0ebca0 commit 0202078

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pandas/io/common.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -491,8 +491,10 @@ def next(self):
491491
return next(self.reader).encode("utf-8")
492492

493493

494+
# Keeping these class for now because it provides a necessary convenience
495+
# for "dropping" the "encoding" argument from our I/O arguments when
496+
# creating a Unicode I/O object.
494497
def UnicodeReader(f, dialect=csv.excel, encoding="utf-8", **kwds):
495-
# ignore encoding
496498
return csv.reader(f, dialect=dialect, **kwds)
497499

498500

pandas/io/formats/terminal.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
"""
22
Terminal utilities.
33
"""
4-
from __future__ import print_function
54

65
__all__ = ['is_terminal']
76

0 commit comments

Comments
 (0)