From 1804dc3c071cca9c420b41ee8feee3bb74dbfc89 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 29 Jan 1999 18:05:05 +0000 Subject: Document abspath() (implementation is forthcoming). --- Doc/lib/libposixpath.tex | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Doc/lib/libposixpath.tex b/Doc/lib/libposixpath.tex index 83f468d..f9a3d89 100644 --- a/Doc/lib/libposixpath.tex +++ b/Doc/lib/libposixpath.tex @@ -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}. -- cgit v0.12