Home
last modified time | relevance | path

Searched refs:__fspath__ (Results 1 – 21 of 21) sorted by relevance

/third_party/skia/third_party/externals/jinja2/
D_compat.py126 return path.__fspath__()
/third_party/jinja2/
D_compat.py126 return path.__fspath__()
/third_party/python/Lib/unittest/test/testmock/
Dtestmagicmethods.py328 expected_path = mock.__fspath__()
332 mock.__fspath__.assert_called_once()
/third_party/python/Lib/
Dos.py1049 path_repr = path_type.__fspath__(path)
1075 def __fspath__(self): member in PathLike
Dpathlib.py629 def __fspath__(self): member in PurePath
/third_party/python/Misc/NEWS.d/
D3.6.0a4.rst136 Add :pep:`519`/__fspath__() support to the os and os.path modules. Includes
468 Fix a segfault when os.fspath() called an __fspath__() method that raised an
D3.6.0a3.rst133 Update os.fspath()/PyOS_FSPath() to check the return value of __fspath__()
D3.8.0a2.rst27 The error message emitted when returning invalid types from ``__fspath__``
D3.8.0a1.rst2658 :class:`unittest.mock.MagicMock` now supports the ``__fspath__`` method
/third_party/python/Lib/test/support/
Dos_helper.py482 def __fspath__(self): member in FakePath
/third_party/python/Lib/sqlite3/test/
Ddbapi.py184 def __fspath__(self): member in ConnectionTests.test_open_with_path_like_object.Path
/third_party/python/Doc/c-api/
Dsys.rst13 then :meth:`~os.PathLike.__fspath__` is returned as long as it is a
/third_party/python/Doc/library/
Dtest.rst1345 Simple :term:`path-like object`. It implements the :meth:`__fspath__`
1347 it will be raised in :meth:`!__fspath__`.
Dunittest.mock.rst2031 * File system path representation: ``__fspath__``
2035 Added support for :func:`os.PathLike.__fspath__`.
Dos.rst270 Otherwise :meth:`~os.PathLike.__fspath__` is called and its value is
284 .. abstractmethod:: __fspath__()
/third_party/python/Tools/c-analyzer/
DTODO324 Modules/posixmodule.c:PyOS_FSPath():PyId___fspath__ _Py_IDENTIFIER(__fspath__)
325 Modules/posixmodule.c:path_converter():PyId___fspath__ _Py_IDENTIFIER(__fspath__)
/third_party/python/Lib/test/
Dtest_tempfile.py70 def __fspath__(self): member in TestLowLevelInternals.test_infer_return_type_pathlike.Path
Dtest_pathlib.py398 self._check_str(p.__fspath__(), ('a/b',))
Dtest_os.py4470 c.__fspath__ = 1
/third_party/python/Doc/whatsnew/
D3.6.rst415 :meth:`~os.PathLike.__fspath__` method, an object signals that it
/third_party/python/Modules/
Dposixmodule.c342 _Py_IDENTIFIER(__fspath__);