mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
Issue #24001: Argument Clinic converters now use accept={type}
instead of types={'type'} to specify the types the converter accepts.
This commit is contained in:
parent
cb98556373
commit
dbfdc380df
16 changed files with 163 additions and 122 deletions
|
|
@ -603,7 +603,7 @@ _io_FileIO_seekable_impl(fileio *self)
|
|||
|
||||
/*[clinic input]
|
||||
_io.FileIO.readinto
|
||||
buffer: Py_buffer(types={'rwbuffer'})
|
||||
buffer: Py_buffer(accept={rwbuffer})
|
||||
/
|
||||
|
||||
Same as RawIOBase.readinto().
|
||||
|
|
@ -611,7 +611,7 @@ Same as RawIOBase.readinto().
|
|||
|
||||
static PyObject *
|
||||
_io_FileIO_readinto_impl(fileio *self, Py_buffer *buffer)
|
||||
/*[clinic end generated code: output=b01a5a22c8415cb4 input=5edd8327498d468c]*/
|
||||
/*[clinic end generated code: output=b01a5a22c8415cb4 input=4721d7b68b154eaf]*/
|
||||
{
|
||||
Py_ssize_t n;
|
||||
int err;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue