Skip to content

Commit

Permalink
AbstractRouteDef is importable from aiohttp.web (#3183) (#3188)
Browse files Browse the repository at this point in the history
  • Loading branch information
MAILLOL Vincent authored and asvetlov committed Aug 12, 2018
1 parent bb78691 commit 2a165db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGES/3183.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The class `AbstractRouteDef` is importable from `aiohttp.web`.
6 changes: 3 additions & 3 deletions aiohttp/web_routedef.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
from . import hdrs


__all__ = ('RouteDef', 'StaticDef', 'RouteTableDef', 'head', 'options', 'get',
'post', 'patch', 'put', 'delete', 'route', 'view',
'static')
__all__ = ('AbstractRouteDef', 'RouteDef', 'StaticDef', 'RouteTableDef',
'head', 'options', 'get', 'post', 'patch', 'put', 'delete',
'route', 'view', 'static')


class AbstractRouteDef(abc.ABC):
Expand Down

0 comments on commit 2a165db

Please sign in to comment.