Lines Matching refs:open
2 builtin open function is defined in this module.
25 of open() are intended to be used as keyword arguments.
32 I/O classes. open() uses the file's blksize (as obtained by os.stat) if
44 __all__ = ["BlockingIOError", "open", "open_code", "IOBase", "RawIOBase",
55 open, open_code, FileIO, BytesIO, StringIO, BufferedReader,
62 # bpo-43680: Until Python 3.9, _pyio.open was not a static method and
63 # builtins.open was set to OpenWrapper to not become a bound method
64 # when set to a class variable. _io.open is a built-in function whereas
65 # _pyio.open is a Python function. In Python 3.10, _pyio.open() is now
66 # a static method, and builtins.open() is now io.open().
68 warnings.warn('OpenWrapper is deprecated, use open instead',
71 OpenWrapper = open