Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(206694)

Side by Side Diff: Doc/library/os.path.rst

Issue 19207: Improve cross-references in os documentation
Patch Set: Created 6 years, 2 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | Doc/library/os.rst » ('j') | Doc/library/os.rst » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 :mod:`os.path` --- Common pathname manipulations 1 :mod:`os.path` --- Common pathname manipulations
2 ================================================ 2 ================================================
3 3
4 .. module:: os.path 4 .. module:: os.path
5 :synopsis: Operations on pathnames. 5 :synopsis: Operations on pathnames.
6 6
7 .. index:: single: path; operations 7 .. index:: single: path; operations
8 8
9 This module implements some useful functions on pathnames. To read or 9 This module implements some useful functions on pathnames. To read or
10 write files see :func:`open`, and for accessing the filesystem see the 10 write files see :func:`open`, and for accessing the filesystem see the
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 264
265 Availability: Unix, Windows. 265 Availability: Unix, Windows.
266 266
267 .. versionchanged:: 3.2 267 .. versionchanged:: 3.2
268 Added Windows support. 268 Added Windows support.
269 269
270 270
271 .. function:: samestat(stat1, stat2) 271 .. function:: samestat(stat1, stat2)
272 272
273 Return ``True`` if the stat tuples *stat1* and *stat2* refer to the same file . 273 Return ``True`` if the stat tuples *stat1* and *stat2* refer to the same file .
274 These structures may have been returned by :func:`fstat`, :func:`lstat`, or 274 These structures may have been returned by :func:`~os.fstat`, :func:`~os.lsta t`, or
Georg 2013/10/12 18:28:38 I think here it works even better without the tild
275 :func:`stat`. This function implements the underlying comparison used by 275 :func:`~os.stat`. This function implements the underlying comparison used by
276 :func:`samefile` and :func:`sameopenfile`. 276 :func:`samefile` and :func:`sameopenfile`.
277 277
278 Availability: Unix, Windows. 278 Availability: Unix, Windows.
279 279
280 .. versionchanged:: 3.4 280 .. versionchanged:: 3.4
281 Added Windows support. 281 Added Windows support.
282 282
283 283
284 .. function:: split(path) 284 .. function:: split(path)
285 285
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 the path (such as ``r'\path\file.ext'``). For paths containing drive letter s, 330 the path (such as ``r'\path\file.ext'``). For paths containing drive letter s,
331 *unc* will always be the empty string. 331 *unc* will always be the empty string.
332 332
333 Availability: Windows. 333 Availability: Windows.
334 334
335 335
336 .. data:: supports_unicode_filenames 336 .. data:: supports_unicode_filenames
337 337
338 True if arbitrary Unicode strings can be used as file names (within limitatio ns 338 True if arbitrary Unicode strings can be used as file names (within limitatio ns
339 imposed by the file system). 339 imposed by the file system).
OLDNEW
« no previous file with comments | « no previous file | Doc/library/os.rst » ('j') | Doc/library/os.rst » ('J')

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+