Mercurial > slides-fragments
changeset 147:d61adacf8b01
created
| author | 127.0.0.1 |
|---|---|
| date | Thu, 30 Jan 2014 09:27:56 +0100 |
| parents | 8bd4626195ab |
| children | 407bd940bc84 |
| files | all |
| diffstat | 1 files changed, 16 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/all Thu Jan 30 09:27:56 2014 +0100 @@ -0,0 +1,16 @@ +**Wrong:** +{{{#!python +from . import Foo +from . import Bar + +assert Foo +assert Bar +}}} + +**Better:** +{{{#!python +from . import Foo +from . import Bar + +__all__ = ['Foo', 'Bar'] +}}} \ No newline at end of file
