Skip to content

Commit aebe60c

Browse files
lumbricshoyer
authored andcommitted
Minor improvement of docstring for Dataset (#2904)
This might help to avoid confusion. data_vars is always a mapping, not a mapping, a variable or a tuple.
1 parent 1cd262d commit aebe60c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xarray/core/dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ def __init__(self, data_vars=None, coords=None, attrs=None,
343343
----------
344344
data_vars : dict-like, optional
345345
A mapping from variable names to :py:class:`~xarray.DataArray`
346-
objects, :py:class:`~xarray.Variable` objects or tuples of the
346+
objects, :py:class:`~xarray.Variable` objects or to tuples of the
347347
form ``(dims, data[, attrs])`` which can be used as arguments to
348348
create a new ``Variable``. Each dimension must have the same length
349349
in all variables in which it appears.

0 commit comments

Comments
 (0)