diff options
author | Fred Drake <fdrake@acm.org> | 2003-10-01 04:03:54 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2003-10-01 04:03:54 (GMT) |
commit | 94b3463f7e6b43da52242df67eb6fe7f6057a1fe (patch) | |
tree | 32ae1ba669abec21acd523a616fe9f8af5437ffe /Doc/tools/mkhowto | |
parent | 1dc3bb4722c2e3a376d717a260bb416792b881b6 (diff) | |
download | cpython-94b3463f7e6b43da52242df67eb6fe7f6057a1fe.zip cpython-94b3463f7e6b43da52242df67eb6fe7f6057a1fe.tar.gz cpython-94b3463f7e6b43da52242df67eb6fe7f6057a1fe.tar.bz2 |
We're long past worrying about Python versions older than 1.5.2;
remove old compatibility definition of os.path.abspath().
Diffstat (limited to 'Doc/tools/mkhowto')
-rwxr-xr-x | Doc/tools/mkhowto | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Doc/tools/mkhowto b/Doc/tools/mkhowto index e204802..8f506c5 100755 --- a/Doc/tools/mkhowto +++ b/Doc/tools/mkhowto @@ -46,17 +46,6 @@ import shutil import sys -if not hasattr(os.path, "abspath"): - # Python 1.5.1 or earlier - def abspath(path): - """Return an absolute path.""" - if not os.path.isabs(path): - path = os.path.join(os.getcwd(), path) - return os.path.normpath(path) - - os.path.abspath = abspath - - MYDIR = os.path.abspath(sys.path[0]) TOPDIR = os.path.dirname(MYDIR) |