##// END OF EJS Templates
Switch module separator to comas to be consistent.
Matthias Bussonnier -
Show More
@@ -56,7 +56,7 b' The following magic commands are provided:'
56
56
57 Import module 'foo' and mark it to be autoreloaded for ``%autoreload 1``
57 Import module 'foo' and mark it to be autoreloaded for ``%autoreload 1``
58
58
59 ``%aimport foo bar``
59 ``%aimport foo, bar``
60
60
61 Import modules 'foo', 'bar' and mark them to be autoreloaded for ``%autoreload 1``
61 Import modules 'foo', 'bar' and mark them to be autoreloaded for ``%autoreload 1``
62
62
@@ -490,7 +490,7 b' class AutoreloadMagics(Magics):'
490 %aimport foo
490 %aimport foo
491 Import module 'foo' and mark it to be autoreloaded for %autoreload 1
491 Import module 'foo' and mark it to be autoreloaded for %autoreload 1
492
492
493 %aimport foo bar
493 %aimport foo, bar
494 Import modules 'foo', 'bar' and mark them to be autoreloaded for %autoreload 1
494 Import modules 'foo', 'bar' and mark them to be autoreloaded for %autoreload 1
495
495
496 %aimport -foo
496 %aimport -foo
@@ -511,7 +511,7 b' class AutoreloadMagics(Magics):'
511 modname = modname[1:]
511 modname = modname[1:]
512 self._reloader.mark_module_skipped(modname)
512 self._reloader.mark_module_skipped(modname)
513 else:
513 else:
514 for _module in modname.split():
514 for _module in ([_.strip() for _ in modname.split(',')]):
515 top_module, top_name = self._reloader.aimport_module(_module)
515 top_module, top_name = self._reloader.aimport_module(_module)
516
516
517 # Inject module to user namespace
517 # Inject module to user namespace
General Comments 0
You need to be logged in to leave comments. Login now