Revision: 5789
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5789&view=rev
Author: dmkaplan
Date: 2008-07-18 18:59:57 +0000 (Fri, 18 Jul 2008)
Log Message:
-----------
Fixing bug in is_sequence_of_strings.
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/cbook.py
Modified: trunk/matplotlib/lib/matplotlib/cbook.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/cbook.py 2008-07-18 14:49:09 UTC (rev
5788)
+++ trunk/matplotlib/lib/matplotlib/cbook.py 2008-07-18 18:59:57 UTC (rev
5789)
@@ -275,6 +275,7 @@
Returns true if *obj* is iterable and contains strings
"""
if not iterable(obj): return False
+ if is_string_like(obj): return False
for o in obj:
if not is_string_like(o): return False
return True
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins