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

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

src/d/i/dita-generator-HEAD/src/python/ditagen/generator.py   dita-generator(Download)
from ditagen.dtdgen import Seq as Seq
from ditagen.dtdgen import Choice as Choice
from ditagen.dtdgen import Name as Name 
from ditagen.dtdgen import Param as Param
from ditagen.dtdgen import Attribute as Attribute
                    o = params[o.name]
                if type(particle) is Name:
                    return Name(self.__resolve_params(particle.name, params), o)
                else:
                    return type(particle)(filter(lambda x: x != None, [self.__resolve_params(n, params) for n in particle.particles]), o)

src/d/i/dita-generator-HEAD/src/python/ditagen/dita/v1_2.py   dita-generator(Download)
from ditagen.dtdgen import Particle as Particle
from ditagen.dtdgen import Choice as Choice
from ditagen.dtdgen import Name as Name 
from ditagen.dtdgen import Seq as Seq
from ditagen.dtdgen import Attribute as Attribute