Skip to content

Commit 7334109

Browse files
committed
DOC: fix to set_intent docstring
1 parent d25b307 commit 7334109

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/nifti1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1347,7 +1347,7 @@ def set_intent(self, code, params=(), name='', allow_unknown=False):
13471347
defaults to (). Unspecified parameters are set to 0.0
13481348
name : string
13491349
intent name (description). Defaults to ''
1350-
allow_unknown : bool
1350+
allow_unknown : {False, True}, optional
13511351
Allow unknown integer intent codes. If False (the default),
13521352
a KeyError is raised on attempts to set the intent
13531353
to an unknown code.

0 commit comments

Comments
 (0)