Skip to content

Commit 49ee6c9

Browse files
authored
Add exceptions from 1d4a410 to top-level imports
1 parent 1d4a410 commit 49ee6c9

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

pydispatch/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
'After version 0.1.x, `python-dispatch` will only support Python 3.6 or greater.',
1616
UserWarning)
1717

18-
from pydispatch.dispatch import Dispatcher, Event
18+
from pydispatch.dispatch import *
1919
from pydispatch.properties import *

pydispatch/dispatch.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
import asyncio
1010
from pydispatch.aioutils import AioWeakMethodContainer, AioEventWaiters
1111

12+
__all__ = (
13+
'DoesNotExistError', 'ExistsError', 'EventExistsError',
14+
'PropertyExistsError', 'Event', 'Dispatcher',
15+
)
1216

1317

1418
class DoesNotExistError(KeyError):

0 commit comments

Comments
 (0)