nilearn/nilearn — pull request #81 by AlexandreAbraham (2013-06-19 22:51:27+00:00)
Title: Change behavior of stack_level to stop at first calling object

In `_utils.class_inspect.get_scope_name`, the behavior of `stack_level` is not very handy. In fact, it specifies _exactly_ the number of frames to climb up. However, this number is contextual and can't be determined in advance. I suggest to just climb up the frames until we find a calling object.