Ejemplo n.º 1
0
def get_syms():
    r = {}
    vc = ParseContext.default_globals()
    for s in vc:
        if s in PREDEFS: continue
        if s[0].isupper():
            continue  # REMIND see both jvm_binary and JvmBinary??
        o = vc[s]
        r[s] = o
    return r
Ejemplo n.º 2
0
def get_syms():
    r = {}
    vc = ParseContext.default_globals()
    for s in vc:
        if s in PREDEFS:
            continue
        if s[0].isupper():
            continue  # REMIND see both jvm_binary and JvmBinary??
        o = vc[s]
        r[s] = o
    return r