summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-01-29 18:05:05 (GMT)
committerGuido van Rossum <guido@python.org>1999-01-29 18:05:05 (GMT)
commit1804dc3c071cca9c420b41ee8feee3bb74dbfc89 (patch)
tree36515fac633e959f162732a15cd067c7ab31ef04
parentf339632da0afed44e439906e1490e1b671efb4cc (diff)
downloadcpython-1804dc3c071cca9c420b41ee8feee3bb74dbfc89.zip
cpython-1804dc3c071cca9c420b41ee8feee3bb74dbfc89.tar.gz
cpython-1804dc3c071cca9c420b41ee8feee3bb74dbfc89.tar.bz2
Document abspath() (implementation is forthcoming).
-rw-r--r--Doc/lib/libposixpath.tex6
1 files changed, 6 insertions, 0 deletions
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}.