Lines Matching refs:empty
69 # Insert a '/' unless the first part is empty or already ends in '/'.
74 will be discarded. An empty last part will result in a path that
96 # rest). If the path ends in '/', tail will be empty. If there is no
97 # '/' in the path, head will be empty.
102 everything after the final slash. Either part may be empty."""
129 # path. Useful on DOS/Windows/NT; on Unix, the drive is always empty.
133 empty."""
355 empty = b''
360 empty = ''
363 if path == empty:
375 if comp in (empty, dot):
531 raise ValueError('commonpath() arg is an empty sequence')