mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Document abspath() (implementation is forthcoming).
This commit is contained in:
parent
f339632da0
commit
1804dc3c07
1 changed files with 6 additions and 0 deletions
|
@ -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}.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue