diff options
author | Tarek Ziadé <ziade.tarek@gmail.com> | 2010-01-26 21:21:54 +0000 |
---|---|---|
committer | Tarek Ziadé <ziade.tarek@gmail.com> | 2010-01-26 21:21:54 +0000 |
commit | 0276c7ad0b56024f5373ad8f7edca5d77c58df22 (patch) | |
tree | 39ce4043e0a61938793538d047862c5cfddbab5a /Lib/distutils/util.py | |
parent | b28e5d7e412f592efd930b04dfb004f16083cf5b (diff) | |
download | cpython-git-0276c7ad0b56024f5373ad8f7edca5d77c58df22.tar.gz |
reintroduced the names in Distutils for APIs that were relocated
Diffstat (limited to 'Lib/distutils/util.py')
-rw-r--r-- | Lib/distutils/util.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/distutils/util.py b/Lib/distutils/util.py index 18d0d2ef4c..8650d450c3 100644 --- a/Lib/distutils/util.py +++ b/Lib/distutils/util.py @@ -17,6 +17,10 @@ from distutils.errors import DistutilsByteCompileError _sysconfig = __import__('sysconfig') +# kept for backward compatibility +# since this API was relocated +get_platform = _sysconfig.get_platform + def convert_path(pathname): """Return 'pathname' as a name that will work on the native filesystem. |