[h5py] 35/38: Fix undocumented parts of selections2.py

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Jul 2 18:21:41 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository h5py.

commit 60838c2cd3dbdbb83cc2560ce61af55a4f0fa41d
Author: Andrew Collette <andrew.collette at gmail.com>
Date:   Sun May 31 10:25:39 2015 -0600

    Fix undocumented parts of selections2.py
---
 h5py/_hl/selections2.py | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/h5py/_hl/selections2.py b/h5py/_hl/selections2.py
index 57e68ed..8d04e61 100644
--- a/h5py/_hl/selections2.py
+++ b/h5py/_hl/selections2.py
@@ -76,7 +76,7 @@ def read_selections_scalar(dsid, args):
 class ScalarReadSelection(object):
 
     """
-        Undocumented.
+        Implements slicing for scalar datasets.
     """
     
     def __init__(self, fspace, args):
@@ -95,7 +95,10 @@ class ScalarReadSelection(object):
         yield self.fspace, self.mspace        
 
 def select_read(fspace, args):
-    """ Undocumented. """
+    """ Top-level dispatch function for reading.
+    
+    At the moment, only supports reading from scalar datasets.
+    """
     if fspace.shape == ():
         return ScalarReadSelection(fspace, args)
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/h5py.git



More information about the debian-science-commits mailing list