Skip to content

Commit 8de8a81

Browse files
authored
Docs: fix typo in os.pwrite docstring (#107087)
1 parent 7ca2d8e commit 8de8a81

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Modules/clinic/posixmodule.c.h

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Modules/posixmodule.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -11283,13 +11283,13 @@ os.pwrite -> Py_ssize_t
1128311283
Write bytes to a file descriptor starting at a particular offset.
1128411284
1128511285
Write buffer to fd, starting at offset bytes from the beginning of
11286-
the file. Returns the number of bytes writte. Does not change the
11286+
the file. Returns the number of bytes written. Does not change the
1128711287
current file offset.
1128811288
[clinic start generated code]*/
1128911289

1129011290
static Py_ssize_t
1129111291
os_pwrite_impl(PyObject *module, int fd, Py_buffer *buffer, Py_off_t offset)
11292-
/*[clinic end generated code: output=c74da630758ee925 input=19903f1b3dd26377]*/
11292+
/*[clinic end generated code: output=c74da630758ee925 input=614acbc7e5a0339a]*/
1129311293
{
1129411294
Py_ssize_t size;
1129511295
int async_err = 0;

0 commit comments

Comments
 (0)