Home
last modified time | relevance | path

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

/external/fonttools/Tests/ufoLib/
DUFOZ_test.py63 def __fspath__(self): member in test_pathlike.PathLike
69 assert reader._path == path.__fspath__()
72 assert writer._path == path.__fspath__()
/external/tensorflow/tensorflow/python/util/
Dcompat_internal.py35 path = as_str_any(path.__fspath__())
Dcompat.py123 path = as_str_any(path.__fspath__())
/external/fonttools/Lib/fontTools/misc/
DmacRes.py37 path = path.__fspath__()
/external/python/cpython3/Lib/
Dos.py1046 path_repr = path_type.__fspath__(path)
1072 def __fspath__(self): member in PathLike
Dpathlib.py703 def __fspath__(self): member in PurePath
/external/python/cpython3/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.7.3rc1.rst43 The error message emitted when returning invalid types from ``__fspath__``
/external/fonttools/Lib/fontTools/designspaceLib/
D__init__.py1049 path = path.__fspath__()
1059 path = path.__fspath__()
/external/fonttools/Lib/fontTools/ufoLib/
D__init__.py206 path = path.__fspath__()
830 path = path.__fspath__()
/external/python/cpython3/Doc/c-api/
Dsys.rst13 then :meth:`~os.PathLike.__fspath__` is returned as long as it is a
/external/python/cpython3/Lib/sqlite3/test/
Ddbapi.py168 def __fspath__(self): member in ConnectionTests.CheckOpenWithPathLikeObject.Path
/external/python/cpython3/Doc/library/
Dtest.rst1302 Simple :term:`path-like object`. It implements the :meth:`__fspath__`
1304 it will be raised in :meth:`!__fspath__`.
Dos.rst198 Otherwise :meth:`~os.PathLike.__fspath__` is called and its value is
212 .. abstractmethod:: __fspath__()
/external/python/cpython3/Lib/test/support/
D__init__.py2899 def __fspath__(self): member in FakePath
/external/python/cpython3/Modules/
Dposixmodule.c981 _Py_IDENTIFIER(__fspath__); in path_converter()
12516 _Py_IDENTIFIER(__fspath__); in PyOS_FSPath()
/external/python/cpython3/Lib/test/
Dtest_pathlib.py394 self._check_str(p.__fspath__(), ('a/b',))
Dtest_os.py3731 c.__fspath__ = 1
/external/python/cpython3/Doc/whatsnew/
D3.6.rst415 :meth:`~os.PathLike.__fspath__` method, an object signals that it