summaryrefslogtreecommitdiff
path: root/Lib/distutils/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/distutils/util.py')
-rw-r--r--Lib/distutils/util.py4
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.