Skip to content
Snippets Groups Projects
Commit 340b0010 authored by Stefano Zacchiroli's avatar Stefano Zacchiroli
Browse files

init.py: switch to documented way of extending path

make mypy 0.730 pass cleanly again
parent 1295f45d
No related branches found
No related tags found
No related merge requests found
from pkgutil import extend_path
from typing import Iterable
__path__ = __import__('pkgutil').extend_path(__path__,
__name__) # type: Iterable[str]
__path__ = extend_path(__path__, __name__) # type: Iterable[str]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment