Add __all__ to silence private import warnings

This commit is contained in:
A_D 2022-01-30 17:30:40 +02:00
parent 14d38192cf
commit 0da5993823
No known key found for this signature in database
GPG Key ID: 4BE9EB7DF45076C4
1 changed files with 10 additions and 1 deletions

View File

@ -1,4 +1,13 @@
from .line import Line, build, tokenise
from .hostmask import Hostmask, hostmask
from .line import Line, build, tokenise
from .stateful import StatefulDecoder, StatefulEncoder
__all__ = [
"Line",
"build",
"tokenise",
"Hostmask",
"hostmask",
"StatefulDecoder",
"StatefulEncoder",
]