Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/m/o/modrana-HEAD/modules/configobj/configobj.py   modrana(Download)
  from ast import parse
except ImportError:
  from core.backports.ast import parse
 
from core.backports.six import binary_type as bytes
def getObj(s):
    p = parse("a=" + s)
    obj = p.body[0].value
    return obj