]> granicus.if.org Git - python/commitdiff
Document abspath() (implementation is forthcoming).
authorGuido van Rossum <guido@python.org>
Fri, 29 Jan 1999 18:05:05 +0000 (18:05 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 29 Jan 1999 18:05:05 +0000 (18:05 +0000)
Doc/lib/libposixpath.tex

index 83f468dd3b4ba69b9499657ad0865885db669128..f9a3d894e89408fbd2804509b05dcba3a723d22c 100644 (file)
@@ -11,6 +11,12 @@ module \module{os}\refstmodindex{os} and use \code{os.path}.
 
 \index{path!operations}
 
+\begin{funcdesc}{abspath}{p}
+Return a normalized absolutized version of the pathname \var{p}.  On
+most platforms, this is equivalent to
+\code{normpath(join(os.getcwd()), \var{p})}.
+\end{funcdesc}
+
 \begin{funcdesc}{basename}{p}
 Return the base name of pathname
 \var{p}.