From 34a60763e79546e0f84e30fbcc430632f3dbb39e Mon Sep 17 00:00:00 2001 From: hut Date: Tue, 16 Feb 2010 01:56:21 +0100 Subject: incremented version number and updated pydoc html files --- doc/pydoc/os.path.html | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) (limited to 'doc/pydoc/os.path.html') diff --git a/doc/pydoc/os.path.html b/doc/pydoc/os.path.html index a5b893f5..f62cddae 100644 --- a/doc/pydoc/os.path.html +++ b/doc/pydoc/os.path.html @@ -1,6 +1,6 @@ + Python: module posixpath - @@ -8,7 +8,7 @@
 
 
posixpath
index
/usr/lib/python3.1/posixpath.py
Module Docs
+>index
/usr/lib/python2.6/posixpath.py
Module Docs

Common operations on Posix pathnames.
 
Instead of importing this module directly, import os and refer to
@@ -29,7 +29,7 @@ for manipulation of the pathname component of 
genericpath
os
stat
-
sys
+
warnings

@@ -63,7 +63,7 @@ will be discarded.
normpath(path)
Normalize path, eliminating double slashes, etc.
realpath(filename)
Return the canonical path of the specified filename, eliminating any
symbolic links encountered in the path.
-
relpath(path, start=None)
Return a relative version of a path
+
relpath(path, start='.')
Return a relative version of a path
samefile(f1, f2)
Test whether two pathnames reference the same actual file
sameopenfile(fp1, fp2)
Test whether two open file objects reference the same file
samestat(s1, s2)
Test whether two stat buffers reference the same file
@@ -75,6 +75,19 @@ empty.  
Extension is everything from the last dot to the end, ignoring
leading dots.  Returns "(root, ext)"; ext may be empty. +
walk(top, func, arg)
Directory tree walk with callback function.

+For each directory in the directory tree rooted at top (including top
+itself, but excluding '.' and '..'), call func(arg, dirname, fnames).
+dirname is the name of the directory, and fnames a list of the names of
+the files and subdirectories in dirname (excluding '.' and '..').  func
+may modify the fnames list in-place (e.g. via del or slice assignment),
+and walk will only recurse into the subdirectories whose names remain in
+fnames; this can be used to implement a filter, or to impose a specific
+order of visiting.  No semantics are defined for, or required of, arg,
+beyond that arg is always passed to func.  It can be used, e.g., to pass
+a filename pattern, or a mutable object designed to accumulate
+statistics.  Passing None for arg is common.

@@ -82,7 +95,7 @@ leading dots.  Returns "(root, ext)"; ext may Data -
       __all__ = ['normcase', 'isabs', 'join', 'splitdrive', 'split', 'splitext', 'basename', 'dirname', 'commonprefix', 'getsize', 'getmtime', 'getatime', 'getctime', 'islink', 'exists', 'lexists', 'isdir', 'isfile', 'ismount', 'expanduser', ...]
+
__all__ = ['normcase', 'isabs', 'join', 'splitdrive', 'split', 'splitext', 'basename', 'dirname', 'commonprefix', 'getsize', 'getmtime', 'getatime', 'getctime', 'islink', 'exists', 'lexists', 'isdir', 'isfile', 'ismount', 'walk', ...]
altsep = None
curdir = '.'
defpath = ':/bin:/usr/bin'
-- cgit 1.4.1-2-gfad0