File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -237,6 +237,7 @@ Nicolas Chauvat
237
237
Jerry Chen
238
238
Michael Chermside
239
239
Ingrid Cheung
240
+ Terry Chia
240
241
Albert Chin-A-Young
241
242
Adal Chiriliuc
242
243
Matt Chisholm
Original file line number Diff line number Diff line change @@ -1124,7 +1124,8 @@ PyDoc_STRVAR(fileno_doc,
1124
1124
"This is needed for lower-level file interfaces, such the fcntl module." );
1125
1125
1126
1126
PyDoc_STRVAR (seek_doc ,
1127
- "seek(offset: int[, whence: int]) -> None. Move to new file position.\n"
1127
+ "seek(offset: int[, whence: int]) -> int. Move to new file position and\n"
1128
+ "return the file position.\n"
1128
1129
"\n"
1129
1130
"Argument offset is a byte count. Optional argument whence defaults to\n"
1130
1131
"0 (offset from start of file, offset should be >= 0); other values are 1\n"
@@ -1136,9 +1137,10 @@ PyDoc_STRVAR(seek_doc,
1136
1137
1137
1138
#ifdef HAVE_FTRUNCATE
1138
1139
PyDoc_STRVAR (truncate_doc ,
1139
- "truncate([size: int]) -> None. Truncate the file to at most size bytes.\n"
1140
+ "truncate([size: int]) -> int. Truncate the file to at most size bytes\n"
1141
+ "and return the truncated size.\n"
1140
1142
"\n"
1141
- "Size defaults to the current file position, as returned by tell()."
1143
+ "Size defaults to the current file position, as returned by tell().\n "
1142
1144
"The current file position is changed to the value of size." );
1143
1145
#endif
1144
1146
You can’t perform that action at this time.
0 commit comments