Skip to content

Commit 8cc70cd

Browse files
committed
Update clinic posixmodule.c to be better for help docs
1 parent c5f3df0 commit 8cc70cd

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Modules/clinic/posixmodule.c.h

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Modules/posixmodule.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11439,17 +11439,17 @@ os.readinto -> Py_ssize_t
1143911439
buffer: Py_buffer(accept={rwbuffer})
1144011440
/
1144111441
11442-
Read into a :ref:`buffer protocol <bufferobjects>` object from a file descriptor.
11442+
Read into a Buffer Protocol object from a file descriptor.
1144311443
11444-
The buffer should be mutable and accept bytes. On success, returns the number of
11444+
The buffer should be mutable and bytes-like. On success, returns the number of
1144511445
bytes read. Less bytes may be read than the size of the buffer. Will retry the
1144611446
underlying system call when interrupted by a signal. For other errors, the
1144711447
system call will not be retried.
1144811448
[clinic start generated code]*/
1144911449

1145011450
static Py_ssize_t
1145111451
os_readinto_impl(PyObject *module, int fd, Py_buffer *buffer)
11452-
/*[clinic end generated code: output=8091a3513c683a80 input=810c820f4d9b1c6b]*/
11452+
/*[clinic end generated code: output=8091a3513c683a80 input=2d815e709ab6a85b]*/
1145311453
{
1145411454
if (buffer->len < 0) {
1145511455
errno = EINVAL;

0 commit comments

Comments
 (0)