Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit aa1afa8

Browse files
committed
Added availability notes for samefile(), sameopenfile(), samestat()
since these are not available on Windows.
1 parent 5d59d3d commit aa1afa8

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Doc/lib/libposixpath.tex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,14 @@ \section{\module{os.path} ---
135135
directory (as indicated by device number and i-node number).
136136
Raise an exception if a \function{os.stat()} call on either pathname
137137
fails.
138+
Availability: Macintosh, \UNIX{}.
138139
\end{funcdesc}
139140

140141
\begin{funcdesc}{sameopenfile}{fp1, fp2}
141142
Return true if the file objects \var{fp1} and \var{fp2} refer to the
142143
same file. The two file objects may represent different file
143144
descriptors.
145+
Availability: Macintosh, \UNIX{}.
144146
\end{funcdesc}
145147

146148
\begin{funcdesc}{samestat}{stat1, stat2}
@@ -149,6 +151,7 @@ \section{\module{os.path} ---
149151
\function{fstat()}, \function{lstat()}, or \function{stat()}. This
150152
function implements the underlying comparison used by
151153
\function{samefile()} and \function{sameopenfile()}.
154+
Availability: Macintosh, \UNIX{}.
152155
\end{funcdesc}
153156

154157
\begin{funcdesc}{split}{path}

0 commit comments

Comments
 (0)