mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Docs: fix typo in os.pwrite docstring (#107087)
This commit is contained in:
parent
7ca2d8e053
commit
8de8a817ee
2 changed files with 4 additions and 4 deletions
|
|
@ -11283,13 +11283,13 @@ os.pwrite -> Py_ssize_t
|
|||
Write bytes to a file descriptor starting at a particular offset.
|
||||
|
||||
Write buffer to fd, starting at offset bytes from the beginning of
|
||||
the file. Returns the number of bytes writte. Does not change the
|
||||
the file. Returns the number of bytes written. Does not change the
|
||||
current file offset.
|
||||
[clinic start generated code]*/
|
||||
|
||||
static Py_ssize_t
|
||||
os_pwrite_impl(PyObject *module, int fd, Py_buffer *buffer, Py_off_t offset)
|
||||
/*[clinic end generated code: output=c74da630758ee925 input=19903f1b3dd26377]*/
|
||||
/*[clinic end generated code: output=c74da630758ee925 input=614acbc7e5a0339a]*/
|
||||
{
|
||||
Py_ssize_t size;
|
||||
int async_err = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue