Author: walter.doerwald
Date: Sat May 12 15:13:55 2007
New Revision: 55285
Modified:
python/branches/py3k-struni/Lib/textwrap.py
Log:
Fix string test (was testing str twice).
Modified: python/branches/py3k-struni/Lib/textwrap.py
==============================================================================
--- python/branches/py3k-struni/Lib/textwrap.py (original)
+++ python/branches/py3k-struni/Lib/textwrap.py Sat May 12 15:13:55 2007
@@ -125,7 +125,7 @@
if self.expand_tabs:
text = text.expandtabs()
if self.replace_whitespace:
- if isinstance(text, str):
+ if isinstance(text, str8):
text = text.translate(self.whitespace_trans)
elif isinstance(text, str):
text = text.translate(self.unicode_whitespace_trans)
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins