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 9f13d76 commit fc89e7eCopy full SHA for fc89e7e
nibabel/optpkg.py
@@ -37,7 +37,7 @@ def optional_package(name, trip_msg=None):
37
Typical use would be something like this at the top of a module using an
38
optional package:
39
40
- >>> from nipy.utils.optpkg import optional_package
+ >>> from nibabel.optpkg import optional_package
41
>>> pkg, have_pkg, setup_module = optional_package('not_a_package')
42
43
Of course in this case the package doesn't exist, and so, in the module:
0 commit comments