[h5py] 119/455: Naming cleanup
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Thu Jul 2 18:19:24 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to annotated tag 1.3.0
in repository h5py.
commit a76f6491f4f2f881daea15c0e059eb1c939cc9a6
Author: andrewcollette <andrew.collette at gmail.com>
Date: Wed Sep 17 05:30:47 2008 +0000
Naming cleanup
---
h5py/h5l.pxd | 4 ++--
h5py/h5o.pyx | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/h5py/h5l.pxd b/h5py/h5l.pxd
index b49666a..84bdc8a 100644
--- a/h5py/h5l.pxd
+++ b/h5py/h5l.pxd
@@ -2,9 +2,9 @@
#
# This file is part of h5py, a low-level Python interface to the HDF5 library.
#
-# Copyright (C) except * 2008 Andrew Collette
+# Copyright (C) 2008 Andrew Collette
# http://h5py.alfven.org
-# License: BSD (See LICENSE.txt for full license) except *
+# License: BSD (See LICENSE.txt for full license)
#
# $Date$
#
diff --git a/h5py/h5o.pyx b/h5py/h5o.pyx
index 2877cf5..023ecaa 100644
--- a/h5py/h5o.pyx
+++ b/h5py/h5o.pyx
@@ -53,7 +53,7 @@ def get_info(ObjectID obj not None):
H5Oget_info(obj.id, &info.infostruct)
return info
-cdef class _CBWrapper:
+cdef class _Visit_Data:
cdef object func
cdef object exc
@@ -68,8 +68,8 @@ cdef class _CBWrapper:
cdef herr_t visit_cb(hid_t obj, char* name, H5O_info_t *info, void* data):
- cdef _CBWrapper wrapper
- wrapper = <_CBWrapper>data
+ cdef _Visit_Data wrapper
+ wrapper = <_Visit_Data>data
wrapper.objinfo.infostruct = info[0]
@@ -113,8 +113,8 @@ def visit(ObjectID obj not None, object func, int idx_type=H5_INDEX_NAME,
3. Raising any other exception aborts iteration; the exception will
be correctly propagated.
"""
- cdef _CBWrapper wrapper
- wrapper = _CBWrapper(func)
+ cdef _Visit_Data wrapper
+ wrapper = _Visit_Data(func)
H5Ovisit(obj.id, <H5_index_t>idx_type, <H5_iter_order_t>order, visit_cb, <void*>wrapper)
--
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