Home
last modified time | relevance | path

Searched refs:FileInput (Results 1 – 19 of 19) sorted by relevance

/third_party/python/Lib/test/
Dtest_fileinput.py25 from fileinput import FileInput, hook_encoded
100 fi = FileInput(files=(t1, t2, t3, t4), encoding="utf-8")
111 fi = FileInput(files=(t1, t2, t3, t4), encoding="utf-8")
130 fi = FileInput(files=(t1, t2, t3, t4, '-'), encoding="utf-8")
144 fi = FileInput(files=(t1, t2, t3, t4), encoding="utf-8")
155 fi = FileInput(files=(t1, t2, t3, t4), inplace=1, encoding="utf-8")
163 fi = FileInput(files=(t1, t2, t3, t4), encoding="utf-8")
186 fi = FileInput(files=(t1, t2, t3, t4), encoding="utf-8")
204 fi = FileInput(files=(t1, t2), encoding="utf-8")
224 fi = FileInput(files=(t1, t2), encoding="utf-8")
[all …]
Dtest_genericalias.py23 from fileinput import FileInput
55 FileInput,
/third_party/python/Doc/library/
Dfileinput.rst32 :class:`FileInput`. If an I/O error occurs during opening or reading a file,
50 *openhook* parameter to :func:`fileinput.input` or :class:`FileInput()`. The
61 Create an instance of the :class:`FileInput` class. The instance will be used
64 constructor of the :class:`FileInput` class.
66 The :class:`FileInput` instance can be used as a context manager in the
144 .. class:: FileInput(files=None, inplace=False, backup='', *, mode='r', openhook=None, encoding=Non…
146 Class :class:`FileInput` is the implementation; its methods :meth:`filename`,
164 A :class:`FileInput` instance can be used as a context manager in the
168 with FileInput(files=('spam.txt', 'eggs.txt')) as input:
188 passed to :func:`fileinput.input` or to the :class:`FileInput` constructor, the
[all …]
/third_party/python/Lib/
Dfileinput.py89 _state = FileInput(files, inplace, backup, mode=mode, openhook=openhook,
171 class FileInput: class
/third_party/python/Misc/NEWS.d/
D3.5.1rc1.rst313 fileinput.FileInput.readline() now returns b'' instead of '' at the end if
314 the FileInput was opened with binary mode. Patch by Ryosuke Ito.
D3.8.0a4.rst268 :class:`fileinput.FileInput` now uses the input file mode to correctly set
D3.6.0a1.rst2562 fileinput.FileInput.readline() now returns b'' instead of '' at the end if
2563 the FileInput was opened with binary mode. Patch by Ryosuke Ito.
D3.10.0b1.rst971 :class:`fileinput.FileInput`.
D3.8.0b1.rst820 :func:`fileinput.input` and :class:`fileinput.FileInput` **bufsize**
D3.5.0a1.rst3615 fileinput.FileInput now reads bytes from standard stream if binary mode is
D3.9.0a1.rst842 :class:`fileinput.FileInput` no longer accept ``'U'`` ("universal newline")
D3.7.0a1.rst1766 Fix ``fileinput.FileInput(files, inplace=True)`` when ``files`` contain
D3.8.0a1.rst3597 and :class:`fileinput.FileInput`.
/third_party/python/Doc/whatsnew/
D3.8.rst1652 :class:`wsgiref.util.FileWrapper` and :class:`fileinput.FileInput` have been
1795 :func:`fileinput.FileInput` which was ignored and deprecated since Python 3.6
D3.10.rst1089 :class:`fileinput.FileInput`.
D2.5.rst1350 the set of files, the :class:`FileInput` object's new :meth:`fileno` returns
/third_party/skia/third_party/externals/wuffs/release/c/
Dwuffs-v0.3.c9699 class FileInput : public Input {
9701 FileInput(FILE* f);
9709 FileInput(const FileInput&) = delete;
9710 FileInput& operator=(const FileInput&) = delete;
39206 FileInput::FileInput(FILE* f) : m_f(f) {} in FileInput() function
39209 FileInput::CopyIn(IOBuffer* dst) { in CopyIn()
/third_party/astc-encoder/Source/
Dwuffs-v0.3.c10406 class FileInput : public Input {
10408 FileInput(FILE* f);
10416 FileInput(const FileInput&) = delete;
10417 FileInput& operator=(const FileInput&) = delete;
44030 FileInput::FileInput(FILE* f) : m_f(f) {} in FileInput() function
44033 FileInput::CopyIn(IOBuffer* dst) { in CopyIn()
/third_party/python/Misc/
DHISTORY306 - Issue #25510: fileinput.FileInput.readline() now returns b'' instead of ''
307 at the end if the FileInput was opened with binary mode.
1855 - Issue #21075: fileinput.FileInput now reads bytes from standard stream if
12618 - Issue #1286: Allow using fileinput.FileInput as a context manager.
19019 - Patch #1215184: FileInput now can be given an opening hook which can