Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
giancarlostoro
· 7y ago · 0 comments
If the file is going to be empty I fail to justify the effort. It is implicitly a package. Is there a case where an empty init file makes sense in Python 3?
Comments
[–]
nerdponx
7y ago
Its absence distinguishes a non-package from a package.
[–]
eirki
7y ago
Mypy uses the init files to resolve absolute imports.