[yt-svn] commit/yt: bwkeller: Merged in ngoldbaum/yt (pull request #1838)
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Mon Nov 2 11:51:54 PST 2015
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/commits/e710ec342175/
Changeset: e710ec342175
Branch: yt
User: bwkeller
Date: 2015-11-02 19:51:44+00:00
Summary: Merged in ngoldbaum/yt (pull request #1838)
Ensure data object docstrings are attached to dataset entry points
Affected #: 1 file
diff -r d5b7f5d362c59fd408dbd5fd31a5cfa55c933e01 -r e710ec3421757eb792ae84d6558e7a8537af557f yt/data_objects/static_output.py
--- a/yt/data_objects/static_output.py
+++ b/yt/data_objects/static_output.py
@@ -573,6 +573,7 @@
def _add_object_class(self, name, base):
self.object_types.append(name)
obj = functools.partial(base, ds=weakref.proxy(self))
+ obj.__doc__ = base.__doc__
setattr(self, name, obj)
def find_max(self, field):
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