Skip to content
Commit 89974f0b authored by Louis's avatar Louis
Browse files

Help message are no longer searched in `__main__` modules and in modules that are not packages.

Closes #2.

This adds a (minor) backward incompatibility, since some help messages are no longer searched in the same module they were searched before (or a no longer searched at all). However, this was necessary because it fixes a bad design. For instance, searching a help message in the docstring of a `__main__` package means importing it to access the docstring, and (maybe) importing it again to run it. This is discouraged, and displayed the warning (described in #2).
parent ca21d255
Loading
Loading
Loading
Pipeline #14476 failed with stage
in 1 minute and 31 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment