~pythonregexp2.7/python/issue2636-01+09-01-01

« back to all changes in this revision

Viewing changes to Doc/library/os.path.rst

  • Committer: Jeffrey C. "The TimeHorse" Jacobs
  • Date: 2008-09-22 00:02:12 UTC
  • mfrom: (39022.1.34 Regexp-2.7)
  • Revision ID: darklord@timehorse.com-20080922000212-7r0q4f4ugiq57jph
Merged in changes from the Atomic Grouping / Possessive Qualifiers branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
226
226
 
227
227
   Return ``True`` if both pathname arguments refer to the same file or directory
228
228
   (as indicated by device number and i-node number). Raise an exception if a
229
 
   :func:`os.stat` call on either pathname fails. Availability:  Macintosh, Unix.
 
229
   :func:`os.stat` call on either pathname fails. Availability: Unix.
230
230
 
231
231
 
232
232
.. function:: sameopenfile(fp1, fp2)
233
233
 
234
234
   Return ``True`` if the file descriptors *fp1* and *fp2* refer to the same file.
235
 
   Availability:  Macintosh, Unix.
 
235
   Availability: Unix.
236
236
 
237
237
 
238
238
.. function:: samestat(stat1, stat2)
240
240
   Return ``True`` if the stat tuples *stat1* and *stat2* refer to the same file.
241
241
   These structures may have been returned by :func:`fstat`, :func:`lstat`, or
242
242
   :func:`stat`.  This function implements the underlying comparison used by
243
 
   :func:`samefile` and :func:`sameopenfile`. Availability:  Macintosh, Unix.
 
243
   :func:`samefile` and :func:`sameopenfile`. Availability: Unix.
244
244
 
245
245
 
246
246
.. function:: split(path)
305
305
 
306
306
   .. warning::
307
307
 
308
 
      This function is deprecated and is removed in 3.0 in favor of
 
308
      This function is deprecated and has been removed in 3.0 in favor of
309
309
      :func:`os.walk`.
310
310
 
311
311