Moves sanic/sanic.py to sanic/app.py

Functionality wise this won't change much for most users, unless you
were directly importing from `sanic.sanic` in which case I am sorry if
you're affected by this.

Main motivation was because jedi autocompletion didn't work with this
and we were using relative imports to compensate for the fact that
having a module inside of your module with the same name creates major
namespace problems.
This commit is contained in:
Eli Uriegas 2017-02-15 20:47:34 -06:00
parent 874698b93f
commit c99aa7279b
2 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
from .sanic import Sanic
from .app import Sanic
from .blueprints import Blueprint
__version__ = '0.3.1'