(s1, s2)
return (s1.st_ino == s2.st_ino and
            s1.st_dev == s2.st_dev)
Test whether two stat buffers reference the same file
Test whether two stat buffers reference the same file
Test whether two stat buffers reference the same file
def samestat(s1, s2):
    """Test whether two stat buffers reference the same file"""
    return (s1.st_ino == s2.st_ino and
            s1.st_dev == s2.st_dev)
def samestat ( s1 , s2 ) : return ( s1 . st_ino == s2 . st_ino and s1 . st_dev == s2 . st_dev )