Commit 36773364 authored by Armin Rigo's avatar Armin Rigo
Browse files

Add a whatsnew

parent cb16090e7f11
......@@ -18,6 +18,14 @@ What's New
``__name__``, ``__module__`` and ``__doc__`` that are expected e.g. by
some decorators-management functions from ``functools``.
* Out-of-line API mode: you can now do ``from _example.lib import x``
to import the name ``x`` from ``_example.lib``, even though the
``lib`` object is not a standard module object. (Also works in ``from
_example.lib import *``, but this is even more of a hack and will fail
if ``lib`` happens to declare a name called ``__all__``. Note that
``*`` excludes the global variables; only the functions and constants
make sense to import like this.)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment