HomeSort by relevance Sort by last modified time
    Searched full:as_posix (Results 1 - 3 of 3) sorted by null

  /external/python/cpython3/Lib/
pathlib.py 237 rest = path.as_posix()[2:].lstrip('/')
242 return 'file:' + urlquote_from_bytes(path.as_posix().encode('utf-8'))
705 def as_posix(self): member in class:PurePath
717 return "{}({!r})".format(self.__class__.__name__, self.as_posix())
    [all...]
  /external/python/cpython3/Doc/library/
pathlib.rst 417 .. method:: PurePath.as_posix()
424 >>> p.as_posix()
  /external/python/cpython3/Lib/test/
test_pathlib.py 272 self.assertEqual(P(pathstr).as_posix(), pathstr)
273 # Other tests for as_posix() are in test_equivalences()
296 self.assertEqual(eval(inner), p.as_posix())
415 self.assertEqual(p.as_posix(), posix)
    [all...]

Completed in 229 milliseconds