diff options
| author | Guido van Rossum <guido@python.org> | 2007-10-16 18:12:55 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 2007-10-16 18:12:55 +0000 |
| commit | d593487053de01cd756914a5cb5cc6b058c99c03 (patch) | |
| tree | 49199b1cdcd30b83e2250b9696ba9342a004a261 /command/build_py.py | |
| parent | 27cd6610b468d4cc03dea2c22d74aa3c281d3a66 (diff) | |
| download | python-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.py | 2 |
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( |
