/external/fonttools/Tests/ufoLib/ |
D | UFOZ_test.py | 58 class PathLike(object): class 66 path = PathLike(testufo)
|
/external/python/cpython3/Lib/ |
D | imghdr.py | 3 from os import PathLike 15 if isinstance(file, (str, PathLike)):
|
D | compileall.py | 24 if quiet < 2 and isinstance(dir, os.PathLike): 119 if quiet < 2 and isinstance(fullname, os.PathLike):
|
D | zipapp.py | 39 if isinstance(archive, (str, os.PathLike)):
|
D | lzma.py | 117 if isinstance(filename, (str, bytes, os.PathLike)):
|
D | bz2.py | 91 if isinstance(filename, (str, bytes, os.PathLike)):
|
D | fileinput.py | 192 elif isinstance(files, os.PathLike):
|
D | configparser.py | 690 if isinstance(filenames, (str, bytes, os.PathLike)): 699 if isinstance(filename, os.PathLike):
|
D | gzip.py | 52 if isinstance(filename, (str, bytes, os.PathLike)):
|
D | os.py | 1067 class PathLike(abc.ABC): class
|
D | zipfile.py | 504 if isinstance(filename, os.PathLike): 1193 if isinstance(file, os.PathLike):
|
D | pathlib.py | 960 os.PathLike.register(PurePath)
|
/external/googletest/googletest/test/ |
D | googletest-printers-test.cc | 182 class PathLike { class 185 typedef PathLike value_type; 188 PathLike& operator*(); 194 PathLike() {} in PathLike() function in foo::PathLike 199 friend ::std::ostream& operator<<(::std::ostream& os, const PathLike&) { in operator <<() argument 1092 ::foo::PathLike x; in TEST() 1094 const ::foo::PathLike cx; in TEST()
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.6.0a2.rst | 47 Add support for os.PathLike objects to open() (part of PEP 519). 218 Add os.PathLike support to DirEntry (part of PEP 519). Initial patch by 238 Add os.PathLike support to pathlib, removing its provisional status (part of 248 Add support for os.PathLike objects to os.fsencode() and os.fsdecode() (part 258 Introduce os.PathLike and os.fspath() (part of PEP 519).
|
D | 3.6.1rc1.rst | 289 Add a test that checks that cwd parameter of Popen() accepts PathLike
|
D | 3.7.3rc1.rst | 44 in interfaces that allow passing :class:`~os.PathLike` objects has been
|
/external/python/cpython3/Lib/importlib/ |
D | resources.py | 31 Resource = Union[str, os.PathLike]
|
/external/python/cpython3/Doc/c-api/ |
D | sys.rst | 12 incremented. If the object implements the :class:`os.PathLike` interface, 13 then :meth:`~os.PathLike.__fspath__` is returned as long as it is a
|
D | unicode.rst | 839 through the :class:`os.PathLike` interface -- to :class:`bytes` using 856 directly or indirectly through the :class:`os.PathLike` interface -- to
|
/external/python/cpython3/Doc/library/ |
D | pathlib.rst | 108 path segment, an object implementing the :class:`os.PathLike` interface 150 Pure path objects implement the :class:`os.PathLike` interface, allowing them 154 Added support for the :class:`os.PathLike` interface. 220 A path object can be used anywhere an object implementing :class:`os.PathLike`
|
D | os.rst | 174 Support added to accept objects implementing the :class:`os.PathLike` 189 Support added to accept objects implementing the :class:`os.PathLike` 198 Otherwise :meth:`~os.PathLike.__fspath__` is called and its value is 205 .. class:: PathLike 1764 (directly or indirectly through the :class:`PathLike` interface), 1992 :class:`PathLike` interface), the result will also be a string object, 2138 (directly or indirectly through the :class:`PathLike` interface), 2216 implements the :class:`PathLike` interface. 2334 Added support for the :class:`~os.PathLike` interface. Added support 2342 either a string or bytes -- directly or indirectly through the :class:`PathLike` [all …]
|
D | os.path.rst | 322 or indirectly through the :class:`os.PathLike` interface).
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.6.rst | 414 :class:`os.PathLike` has been defined. By implementing the 415 :meth:`~os.PathLike.__fspath__` method, an object signals that it 420 :class:`os.PathLike` or is a :class:`str` or :class:`bytes` object 427 :class:`os.PathLike` objects, as have all relevant functions in the 431 implement :class:`os.PathLike`.
|
/external/python/cpython3/Doc/ |
D | glossary.rst | 856 implementing the :class:`os.PathLike` protocol. An object that supports 857 the :class:`os.PathLike` protocol can be converted to a :class:`str` or
|
/external/python/cpython3/Lib/test/ |
D | test_os.py | 3715 self.assertTrue(issubclass(FakePath, os.PathLike)) 3716 self.assertTrue(isinstance(FakePath('x'), os.PathLike))
|