utils

Module: utils

Inheritance diagram for nipy.utils:

Inheritance diagram of nipy.utils

General utilities for code support.

These are modules that we (broadly-speaking) wrote; packages that other people wrote, that we ship, go in the nipy.externals tree.

VisibleDeprecationWarning

class nipy.utils.VisibleDeprecationWarning

Bases: UserWarning

Visible deprecation warning.

Python does not show any DeprecationWarning by default. Sometimes we do want to show a deprecation warning, when the deprecation is urgent, or the usage is probably a bug.

__init__(*args, **kwargs)
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.