Lines Matching refs:tail
210 head, tail = path.split(name)
211 if not tail:
212 head, tail = path.split(head)
213 if head and tail and not path.exists(head):
220 if isinstance(tail, bytes):
222 if tail == cdir: # xxx/newdir/. exists if xxx/newdir exists
244 head, tail = path.split(name)
245 if not tail:
246 head, tail = path.split(head)
247 while head and tail:
252 head, tail = path.split(head)
269 head, tail = path.split(new)
270 if head and tail and not path.exists(head):
273 head, tail = path.split(old)
274 if head and tail: