We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6056014 commit 0cb7c39Copy full SHA for 0cb7c39
nibabel/loadsave.py
@@ -25,7 +25,7 @@ def load(filename, **kwargs):
25
26
Parameters
27
----------
28
- filename : string
+ filename : str or os.PathLike
29
specification of file to load
30
\*\*kwargs : keyword arguments
31
Keyword arguments to format-specific load
@@ -89,7 +89,7 @@ def save(img, filename):
89
90
img : ``SpatialImage``
91
image to save
92
- filename : str
93
filename (often implying filenames) to which to save `img`.
94
95
Returns
0 commit comments