Skip to content

Commit 62ad33c

Browse files
authored
Merge pull request #175 from aivarannamaa/main
Fix method delegation in `_flushfile`
2 parents fcc8cb9 + c5b093f commit 62ad33c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cs50/cs50.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def __init__(self, f):
4848
self.f = f
4949

5050
def __getattr__(self, name):
51-
return object.__getattribute__(self.f, name)
51+
return getattr(self.f, name)
5252

5353
def write(self, x):
5454
self.f.write(x)

0 commit comments

Comments
 (0)