mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
islink() returns false, but there is no constant false! Return 0 instead.
This commit is contained in:
parent
79b2038aa4
commit
bfa9f13e14
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ def commonprefix(m):
|
|||
# This will always return false on systems where posix.lstat doesn't exist.
|
||||
|
||||
def islink(path):
|
||||
return false
|
||||
return 0
|
||||
|
||||
|
||||
# Does a path exist?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue