You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- No need to import Repo "as Repo". Some tools only recognize this
to give the name conceptually public status when it appears in
type stub files (.pyi files), and listing it in the newly created
__all__ is sufficient to let humans and all tools know it has
that status.
- As very recently done in git.refs, this explicitly imports the
submodules, so it is clear they are available and don't have to
be explicitly imported. (Fundamental to the way they are used is
that they will end up being imported in order to import Repo.)
However, also as in git.refs, it may be that the problems this
could cause in some inherently flawed but plausible uses are too
greater for it to be justified. So this may be revisited.
0 commit comments