def _iter_vars(mod):
    """Iterate through a list of variables define in a module's
    public namespace."""
    vars = sorted(var for var in dir(mod) if _is_public(var))
    for var in vars:
        yield getattr(mod, var)
def _iter_vars ( mod ) : vars = sorted ( var for var in dir ( mod ) if _is_public ( var ) ) for var in vars : yield getattr ( mod , var )
Iterate through a list of variables define in a module's
    public namespace.