Skip to content

Commit 36ff658

Browse files
Extend exported public interface
These were always meant to be public. Eases users importing e.g. the common return type `ExtractResult`.
1 parent f45f75c commit 36ff658

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

tldextract/__init__.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
"""Export tldextract's public interface."""
22

33
from . import _version
4-
from .tldextract import TLDExtract, extract
4+
from .tldextract import ExtractResult, TLDExtract, extract, update
55

66
__version__: str = _version.version
77

88
__all__ = [
9+
"__version__",
910
"extract",
11+
"ExtractResult",
1012
"TLDExtract",
11-
"__version__",
13+
"update",
1214
]

0 commit comments

Comments
 (0)