# Misleading Module docs for using and importall

**URL:** <https://discourse.julialang.org/t/misleading-module-docs-for-using-and-importall/6688>\
**Category:** General Usage\
**Created:** [October 25, 2017, 9:45pm UTC](https://discourse.julialang.org/t/misleading-module-docs-for-using-and-importall/6688 "2017-10-25T21:45:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![essenciary](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/essenciary/32/210469_2.png) [@essenciary](https://discourse.julialang.org/u/essenciary)\
**Post date:** [October 25, 2017, 9:45pm UTC](https://discourse.julialang.org/t/misleading-module-docs-for-using-and-importall/6688/1 "2017-10-25T21:45:13Z")

</div>

I was looking at the examples from [https://docs.julialang.org/en/stable/manual/modules/#Summary-of-module-usage-1](https://docs.julialang.org/en/stable/manual/modules/#Summary-of-module-usage-1) and the “What is brought into scope” info for “importall MyModule” doesn’t seem to be right (at least not in the way I understand it). It says it only brings into scope `x` and `y`. So I would expect, for example, that `MyModule.x` or `MyModule.p` will not be brought into scope. But that is not the case.

In fact, in regards to “What is brought into scope”, the effect of `importall` is exactly like the effect of `using`, so the doc should show the same thing.

```julia
julia> using MyModule

julia> x()
"x"

julia> y()
"y"

julia> MyModule.x()
"x"

julia> MyModule.y()
"y"

julia> MyModule.p()
"p"

```

```julia
julia> importall MyModule

julia> x()
"x"

julia> y()
"y"

julia> MyModule.x()
"x"

julia> MyModule.y()
"y"

julia> MyModule.p()
"p"

```

---

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [October 25, 2017, 10:12pm UTC](https://discourse.julialang.org/t/misleading-module-docs-for-using-and-importall/6688/2 "2017-10-25T22:12:40Z")

</div>

Note that `importall` is removed on master, see [https://github.com/JuliaLang/julia/pull/23968](https://github.com/JuliaLang/julia/pull/23968)

---

<div class="post-metadata">

**Author:** ![essenciary](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/essenciary/32/210469_2.png) [@essenciary](https://discourse.julialang.org/u/essenciary)\
**Post date:** [October 26, 2017, 7:30am UTC](https://discourse.julialang.org/t/misleading-module-docs-for-using-and-importall/6688/3 "2017-10-26T07:30:42Z")

</div>

All right, thanks - in this case, I will just ignore it.
