Skip to content

Commit

Permalink
Merge pull request #175 from aivarannamaa/main
Browse files Browse the repository at this point in the history
Fix method delegation in `_flushfile`
  • Loading branch information
dmalan authored Dec 17, 2023
2 parents fcc8cb9 + c5b093f commit 62ad33c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cs50/cs50.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __init__(self, f):
self.f = f

def __getattr__(self, name):
return object.__getattribute__(self.f, name)
return getattr(self.f, name)

def write(self, x):
self.f.write(x)
Expand Down

0 comments on commit 62ad33c

Please sign in to comment.