vmware/pyvmomi

Make vim more explicit in the code

Open

#941 ouverte le 14 janv. 2021

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)Python (807 forks)batch import
documentationhelp wantedquestion

Métriques du dépôt

Stars
 (2 141 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

If I want to view someone else's code and I see a line like:

from pyVmomi import vim

I immediately want to check out what is vim. But this in turn, takes me to the section of https://github.com/vmware/pyvmomi/blob/a2d5df0b57d7e359b220493c9c77d1635705ef12/pyVmomi/__init__.py#L219 where I read lines like "Files can just import the top level namespace and we will figure out what to load and when". That's great, but I don't have the tools to figure this out, so I need to know what this vim exactly is.

Guide contributeur