[yt-svn] commit/yt: ngoldbaum: Fixing the callback docstrings.

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Sat Jun 8 15:34:28 PDT 2013


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/bc3f6a77ac2a/
Changeset:   bc3f6a77ac2a
Branch:      yt
User:        ngoldbaum
Date:        2013-06-09 00:34:01
Summary:     Fixing the callback docstrings.
Affected #:  1 file

diff -r bb30e1a5937e926d19bf25247556335f2b1aa84b -r bc3f6a77ac2a5b23092c9a7aa771ac5438635b33 yt/visualization/plot_window.py
--- a/yt/visualization/plot_window.py
+++ b/yt/visualization/plot_window.py
@@ -717,7 +717,7 @@
             cbname = callback_registry[key]._type_name
             CallbackMaker = callback_registry[key]
             callback = invalidate_plot(apply_callback(CallbackMaker))
-            callback.__doc__ = CallbackMaker.__init__.__doc__
+            callback.__doc__ = CallbackMaker.__doc__
             self.__dict__['annotate_'+cbname] = types.MethodType(callback,self)
 
     @invalidate_plot

Repository URL: https://bitbucket.org/yt_analysis/yt/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the yt-svn mailing list