Skip to content

Commit

Permalink
doc: clarify baremodule imports, fixes JuliaLang#12112
Browse files Browse the repository at this point in the history
  • Loading branch information
ihnorton committed Jul 11, 2015
1 parent 6b257b5 commit f5c46f8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/manual/modules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,9 @@ new definitions of them. A module also automatically contains a definition
of the ``eval`` function, which evaluates expressions within the context of
that module.

If these definitions are not wanted, modules can be defined using the
keyword ``baremodule`` instead. In terms of ``baremodule``, a standard
``module`` looks like this::
If these ``Base`` definitions are not wanted, modules can be defined using the
keyword ``baremodule`` instead (note: ``Core`` is still imported, as per above).
In terms of ``baremodule``, a standard ``module`` looks like this::

baremodule Mod

Expand Down

0 comments on commit f5c46f8

Please sign in to comment.