mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
changes for the Mac
This commit is contained in:
parent
f808012f5e
commit
7e4b2def34
5 changed files with 111 additions and 11 deletions
|
@ -100,6 +100,13 @@ def isdir(s):
|
|||
return S_ISDIR(st[ST_MODE])
|
||||
|
||||
|
||||
# Return true if the pathname refers to a symbolic link.
|
||||
# (Always false on the Mac, until we understand Aliases.)
|
||||
|
||||
def islink(s):
|
||||
return 0
|
||||
|
||||
|
||||
# Return true if the pathname refers to an existing regular file.
|
||||
|
||||
def isfile(s):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue