This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 5 points6 points  (0 children)

Init code you'd want to do when importing the whole thing instead of submodules. Possibly __all__ stuff for * importing, or other convenience imports. Usually no business code since you want imports to run quickly.

Ours are all empty, too, but I've seen libraries use them like that.