summaryrefslogtreecommitdiff
path: root/command/build_py.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-10-16 18:12:55 +0000
committerGuido van Rossum <guido@python.org>2007-10-16 18:12:55 +0000
commitd593487053de01cd756914a5cb5cc6b058c99c03 (patch)
tree49199b1cdcd30b83e2250b9696ba9342a004a261 /command/build_py.py
parent27cd6610b468d4cc03dea2c22d74aa3c281d3a66 (diff)
downloadpython-setuptools-git-d593487053de01cd756914a5cb5cc6b058c99c03.tar.gz
Patch# 1258 by Christian Heimes: kill basestring.
I like this because it makes the code shorter! :-)
Diffstat (limited to 'command/build_py.py')
-rw-r--r--command/build_py.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/command/build_py.py b/command/build_py.py
index 454424f3..63ced4b4 100644
--- a/command/build_py.py
+++ b/command/build_py.py
@@ -325,7 +325,7 @@ class build_py (Command):
return outputs
def build_module(self, module, module_file, package):
- if isinstance(package, basestring):
+ if isinstance(package, str):
package = package.split('.')
elif not isinstance(package, (list, tuple)):
raise TypeError(