Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff7b562 commit 5a8aa1bCopy full SHA for 5a8aa1b
1 file changed
Lib/distutils/util.py
@@ -11,26 +11,6 @@
11
from distutils.errors import *
12
from distutils.spawn import spawn
13
14
-# for backwards compatibility:
15
-from distutils.file_util import *
16
-from distutils.dir_util import *
17
-from distutils.dep_util import *
18
-from distutils.archive_util import *
19
-
20
21
-# More backwards compatibility hacks
22
-def extend (list, new_list):
23
- """Appends the list 'new_list' to 'list', just like the 'extend()'
24
- list method does in Python 1.5.2 -- but this works on earlier
25
- versions of Python too."""
26
27
- if hasattr (list, 'extend'):
28
- list.extend (new_list)
29
- else:
30
- list[len(list):] = new_list
31
32
-# extend ()
33
34
35
def get_platform ():
36
"""Return a string (suitable for tacking onto directory names) that
0 commit comments