Revision: 5172
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5172&view=rev
Author: jdh2358
Date: 2008-05-17 14:06:05 -0700 (Sat, 17 May 2008)
Log Message:
-----------
added a doc string to the branch -- just experimenting with svn merge here
Modified Paths:
--------------
branches/v0_91_maint/lib/matplotlib/cbook.py
Modified: branches/v0_91_maint/lib/matplotlib/cbook.py
===================================================================
--- branches/v0_91_maint/lib/matplotlib/cbook.py 2008-05-17 20:57:13 UTC
(rev 5171)
+++ branches/v0_91_maint/lib/matplotlib/cbook.py 2008-05-17 21:06:05 UTC
(rev 5172)
@@ -220,6 +220,7 @@
return is_string_like(obj) or not iterable(obj)
def is_numlike(obj):
+ 'return true if obj looks like a number'
try: obj+1
except TypeError: return False
else: 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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins