Home
last modified time | relevance | path

Searched refs:as_posix (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Lib/
Dzipapp.py142 z.write(child, arcname.as_posix())
Dpathlib.py244 rest = path.as_posix()[2:].lstrip('/')
249 return 'file:' + urlquote_from_bytes(path.as_posix().encode('utf-8'))
706 def as_posix(self): member in PurePath
718 return "{}({!r})".format(self.__class__.__name__, self.as_posix())
/external/python/cpython3/Doc/library/
Dpathlib.rst421 .. method:: PurePath.as_posix()
428 >>> p.as_posix()
/external/python/cpython3/Lib/test/
Dtest_pathlib.py270 self.assertEqual(P(pathstr).as_posix(), pathstr)
294 self.assertEqual(eval(inner), p.as_posix())
413 self.assertEqual(p.as_posix(), posix)