mirror of
https://github.com/python/cpython.git
synced 2025-08-30 05:35:08 +00:00
Whitespace normalization.
This commit is contained in:
parent
c0c12b5707
commit
2c60f7a136
11 changed files with 98 additions and 98 deletions
|
@ -85,10 +85,10 @@ def dirname(s): return split(s)[0]
|
|||
def basename(s): return split(s)[1]
|
||||
|
||||
def ismount(s):
|
||||
if not isabs(s):
|
||||
return False
|
||||
components = split(s)
|
||||
return len(components) == 2 and components[1] == ''
|
||||
if not isabs(s):
|
||||
return False
|
||||
components = split(s)
|
||||
return len(components) == 2 and components[1] == ''
|
||||
|
||||
def isdir(s):
|
||||
"""Return true if the pathname refers to an existing directory."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue