Lines Matching defs:pos
115 "truncate($self, pos=None, /)\n"
118 "Truncate size to pos.\n"
120 "The pos argument defaults to the current file position, as\n"
134 Py_ssize_t size = self->pos;
153 "seek($self, pos, whence=0, /)\n"
158 "Seek to character offset pos relative to position indicated by whence:\n"
159 " 0 Start of stream (the default). pos should be >= 0;\n"
160 " 1 Current position - pos must be 0;\n"
161 " 2 End of stream - pos must be 0.\n"
168 _io_StringIO_seek_impl(stringio *self, Py_ssize_t pos, int whence);
174 Py_ssize_t pos;
190 pos = ival;
200 return_value = _io_StringIO_seek_impl(self, pos, whence);