Lines Matching refs:tail
206 head, tail = path.split(name)
207 if not tail:
208 head, tail = path.split(head)
209 if head and tail and not path.exists(head):
216 if isinstance(tail, bytes):
218 if tail == cdir: # xxx/newdir/. exists if xxx/newdir exists
240 head, tail = path.split(name)
241 if not tail:
242 head, tail = path.split(head)
243 while head and tail:
248 head, tail = path.split(head)
265 head, tail = path.split(new)
266 if head and tail and not path.exists(head):
269 head, tail = path.split(old)
270 if head and tail: