mirror of
https://github.com/python/cpython.git
synced 2025-09-18 14:40:43 +00:00
reintroduced the names in Distutils for APIs that were relocated
This commit is contained in:
parent
b28e5d7e41
commit
0276c7ad0b
2 changed files with 13 additions and 0 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue