Skip to content

Commit 7698bf7

Browse files
authored
Final QA (#474)
1 parent bd8d069 commit 7698bf7

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

python-double-underscore/csv_data.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,4 @@ def read_tsv(self):
1515

1616
def _read(self, delimiter):
1717
with open(self.file_path, mode="r") as file:
18-
data = [row for row in csv.reader(file, delimiter=delimiter)]
19-
return data
18+
return [row for row in csv.reader(file, delimiter=delimiter)]

python-double-underscore/point.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
class Point:
22
def __init__(self, x, y):
3-
self._x = x
4-
self._y = y
3+
self.x = x
4+
self.y = y
55

66
@property
77
def x(self):

0 commit comments

Comments
 (0)