Skip to content

Commit a595562

Browse files
committed
fix typo in comment
1 parent 4f32e9a commit a595562

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: netCDF4.pyx

+2-2
Original file line numberDiff line numberDiff line change
@@ -2038,7 +2038,7 @@ determine if the dimension is unlimited"""
20382038
cdef char *dimname
20392039
cdef size_t lendim
20402040
self._grpid = grp._grpid
2041-
# make a weak ref to group to avoid circular ref (issue 218)
2041+
# make a weakref to group to avoid circular ref (issue 218)
20422042
self._grp = weakref.proxy(grp)
20432043
self._data_model = grp.data_model
20442044
self._name = name
@@ -2264,7 +2264,7 @@ instance. If C{None}, the data is not truncated. """
22642264
if type(dimensions) == str or type(dimensions) == bytes or type(dimensions) == unicode:
22652265
dimensions = dimensions,
22662266
self._grpid = grp._grpid
2267-
# make a weak ref to group to avoid circular ref (issue 218)
2267+
# make a weakref to group to avoid circular ref (issue 218)
22682268
self._grp = weakref.proxy(grp)
22692269
# convert to a real numpy datatype object if necessary.
22702270
if (not isinstance(datatype, CompoundType) and \

0 commit comments

Comments
 (0)