Document abspath() (implementation is forthcoming).

This commit is contained in:
Guido van Rossum 1999-01-29 18:05:05 +00:00
parent f339632da0
commit 1804dc3c07
1 changed files with 6 additions and 0 deletions

View File

@ -11,6 +11,12 @@ module \module{os}\refstmodindex{os} and use \code{os.path}.
\index{path!operations} \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} \begin{funcdesc}{basename}{p}
Return the base name of pathname Return the base name of pathname
\var{p}. \var{p}.