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/d/i/dita-generator-HEAD/src/python/ditagen/generator.py   dita-generator(Download)
from ditagen.dtdgen import Empty as Empty
from ditagen.dtdgen import Any as Any
from ditagen.dtdgen import Mixed as Mixed
from ditagen.dtdgen import Particle as Particle
from ditagen.dtdgen import Seq as Seq
                return Any()
            elif type(particle) is Mixed:
                return Mixed(filter(lambda x: x != None, [self.__resolve_params(n, params) for n in particle.names]))
            if isinstance(particle, Particle):
                o = particle.occurrence