From: <ef...@us...> - 2008-07-22 18:05:35
|
Revision: 5811 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5811&view=rev Author: efiring Date: 2008-07-22 18:05:32 +0000 (Tue, 22 Jul 2008) Log Message: ----------- Add deprecation warning to cbook.popd Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/cbook.py Modified: trunk/matplotlib/lib/matplotlib/cbook.py =================================================================== --- trunk/matplotlib/lib/matplotlib/cbook.py 2008-07-22 18:00:49 UTC (rev 5810) +++ trunk/matplotlib/lib/matplotlib/cbook.py 2008-07-22 18:05:32 UTC (rev 5811) @@ -743,6 +743,8 @@ val = popd(d, key, default) """ + warnings.warn("Use native python dict.pop method", DeprecationWarning) + # warning added 2008/07/22 if len(args)==1: key = args[0] val = d[key] This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |