Documentation
|
Return a normalized absolutized version of the pathname *path*. On most |
|
platforms, this is equivalent to calling the function :func:`normpath` as |
|
follows: ``normpath(join(os.getcwd(), path))``. |
claim is wrong, because normpath(join(os.getcwd(), path)) is only called when the pathname is not absolute.
If the claim would be true, every absolute pathname would get the cwd prepended.
Cheers,
Chris.
Documentation
cpython/Doc/library/os.path.rst
Lines 59 to 61 in 3a555f0
claim is wrong, because
normpath(join(os.getcwd(), path))is only called when the pathname is not absolute.If the claim would be true, every absolute pathname would get the cwd prepended.
Cheers,
Chris.