Function
posixpath.sameopenfile

Signature

sameopenfile(fp1, fp2)

Documentation String

Test whether two open file objects reference the same file