Show More
@@ -74,7 +74,7 b' def read_py_file(filename, skip_encoding_cookie=True):' | |||
|
74 | 74 | A unicode string containing the contents of the file. |
|
75 | 75 | """ |
|
76 | 76 | filepath = Path(filename) |
|
77 |
with open(filepath) as f: |
|
|
77 | with open(filepath) as f: # the open function defined in this module. | |
|
78 | 78 | if skip_encoding_cookie: |
|
79 | 79 | return "".join(strip_encoding_cookie(f)) |
|
80 | 80 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now