summaryrefslogtreecommitdiffstats
path: root/Modules/_io/fileio.c
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2015-05-04 13:59:46 (GMT)
committerLarry Hastings <larry@hastings.org>2015-05-04 13:59:46 (GMT)
commitdbfdc380df615fe7e85107ff3954b8fff3ce7741 (patch)
tree25dd738cb50b260d6822ab76f39697c69e9a44c4 /Modules/_io/fileio.c
parentcb985563739f00dcccb03189c95deba604155777 (diff)
downloadcpython-dbfdc380df615fe7e85107ff3954b8fff3ce7741.zip
cpython-dbfdc380df615fe7e85107ff3954b8fff3ce7741.tar.gz
cpython-dbfdc380df615fe7e85107ff3954b8fff3ce7741.tar.bz2
Issue #24001: Argument Clinic converters now use accept={type}
instead of types={'type'} to specify the types the converter accepts.
Diffstat (limited to 'Modules/_io/fileio.c')
-rw-r--r--Modules/_io/fileio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_io/fileio.c b/Modules/_io/fileio.c
index 0894ca4..12e37bb 100644
--- a/Modules/_io/fileio.c
+++ b/Modules/_io/fileio.c
@@ -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;