diff --git a/docs/source/command_line.rst b/docs/source/command_line.rst index b5faa8b0e1da..4b54e6a4dab0 100644 --- a/docs/source/command_line.rst +++ b/docs/source/command_line.rst @@ -565,8 +565,13 @@ of the above sections. # This won't re-export the value from foo import bar + + # Neither will this + from foo import bar as bang + # This will re-export it as bar and allow other modules to import it from foo import bar as bar + # This will also re-export bar from foo import bar __all__ = ['bar']