Show More
@@ -162,8 +162,7 b" def posixfile(name, mode=b'r', buffering" | |||||
162 |
|
162 | |||
163 | # PyFile_FromFd() ignores the name, and seems to report fp.name as the |
|
163 | # PyFile_FromFd() ignores the name, and seems to report fp.name as the | |
164 | # underlying file descriptor. |
|
164 | # underlying file descriptor. | |
165 | if pycompat.ispy3: |
|
165 | fp = fdproxy(name, fp) | |
166 | fp = fdproxy(name, fp) |
|
|||
167 |
|
166 | |||
168 | # The position when opening in append mode is implementation defined, so |
|
167 | # The position when opening in append mode is implementation defined, so | |
169 | # make it consistent with other platforms, which position at EOF. |
|
168 | # make it consistent with other platforms, which position at EOF. |
General Comments 0
You need to be logged in to leave comments.
Login now