mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-27 16:21:28 +00:00
🎨 improve typing
This commit is contained in:
@ -6,7 +6,9 @@ try:
|
||||
del pkg_resources
|
||||
except ImportError:
|
||||
import pkgutil
|
||||
__path__: Iterable[str] = pkgutil.extend_path(__path__, __name__)
|
||||
__path__: Iterable[str] = pkgutil.extend_path(
|
||||
__path__, # type: ignore
|
||||
__name__)
|
||||
del pkgutil
|
||||
except Exception:
|
||||
pass
|
||||
|
Reference in New Issue
Block a user