Skip to content

Commit 45900c5

Browse files
committed
fix docstrings for datatype
1 parent c5ee30a commit 45900c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pnetcdf/_File.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ cdef class File:
410410
- ``pnetcdf.NC_INT64`` for signed 8-byte integer
411411
- ``pnetcdf.NC_UINT64`` for unsigned 8-byte integer
412412
413-
:type datatype: int
413+
:type datatype: int, str, or numpy.dtype
414414
:param dimensions: [Optional] The dimensions of the new variable. Can be either dimension names
415415
or dimension class instances. Default is an empty tuple which means the variable is a scalar
416416
(and therefore has no dimensions).

0 commit comments

Comments
 (0)