Skip to content

Commit

Permalink
Merge branch 'master' into hangman-pysimplegui
Browse files Browse the repository at this point in the history
  • Loading branch information
lpozo authored Nov 28, 2023
2 parents 2e508e5 + 7698bf7 commit 9f1ca9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions python-double-underscore/csv_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ def read_tsv(self):

def _read(self, delimiter):
with open(self.file_path, mode="r") as file:
data = [row for row in csv.reader(file, delimiter=delimiter)]
return data
return [row for row in csv.reader(file, delimiter=delimiter)]
4 changes: 2 additions & 2 deletions python-double-underscore/point.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
class Point:
def __init__(self, x, y):
self._x = x
self._y = y
self.x = x
self.y = y

@property
def x(self):
Expand Down

0 comments on commit 9f1ca9d

Please sign in to comment.