Mercurial > cpython-lru_cache-weakref
diff Lib/distutils/command/install.py @ 43577:ace45b361e87
Patch# 1258 by Christian Heimes: kill basestring.
I like this because it makes the code shorter! :-)
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Tue, 16 Oct 2007 18:12:55 +0000 |
| parents | 279b956a3a96 |
| children | 7dd2c1746267 |
line wrap: on
line diff
--- a/Lib/distutils/command/install.py Tue Oct 16 06:31:30 2007 +0000 +++ b/Lib/distutils/command/install.py Tue Oct 16 18:12:55 2007 +0000 @@ -449,7 +449,7 @@ self.extra_path = self.distribution.extra_path if self.extra_path is not None: - if isinstance(self.extra_path, basestring): + if isinstance(self.extra_path, str): self.extra_path = self.extra_path.split(',') if len(self.extra_path) == 1:
