Skip to content

Commit

Permalink
Merge pull request #37 from BSchilperoort/master
Browse files Browse the repository at this point in the history
Change list to tuple in get_*_var_names docstring
  • Loading branch information
mdpiper authored Nov 22, 2023
2 parents 793f566 + c9425da commit 9941d7e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/bmipy/bmi.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,15 +103,15 @@ def get_output_item_count(self) -> int:
...

@abstractmethod
def get_input_var_names(self) -> tuple[str]:
"""List of a model's input variables.
def get_input_var_names(self) -> tuple[str, ...]:
"""Get the model's input variables.
Input variable names must be CSDMS Standard Names, also known
as *long variable names*.
Returns
-------
list of str
tuple of str
The input variables for the model.
Notes
Expand All @@ -126,15 +126,15 @@ def get_input_var_names(self) -> tuple[str]:
...

@abstractmethod
def get_output_var_names(self) -> tuple[str]:
"""List of a model's output variables.
def get_output_var_names(self) -> tuple[str, ...]:
"""Get the model's output variables.
Output variable names must be CSDMS Standard Names, also known
as *long variable names*.
Returns
-------
list of str
tuple of str
The output variables for the model.
"""
...
Expand Down

0 comments on commit 9941d7e

Please sign in to comment.