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

All Samples(16)  |  Call(10)  |  Derive(0)  |  Import(6)

src/i/m/improviser-0.8.6.3/improviser/Options.py   improviser(Download)
from Blocks import Block
import Progressions
import Bands
import Blocks
import Movements
			"block", Blocks)
		if b != False:
			block = b()
			for x in ["bpm", "resolution", "duration", "swing", "key", "wild"]:
				if x in params:
				raise OptionError, "Unknown block '%s'" % block
	if res == []:
		b = Block()
		res = [b]
	return res

src/i/m/improviser-HEAD/improviser/Options.py   improviser(Download)
from Blocks import Block
import Progressions
import Bands
import Blocks
import Movements
			"block", Blocks)
		if b != False:
			block = b()
			for x in ["bpm", "resolution", "duration", "swing", "key", "wild"]:
				if x in params:
				raise OptionError, "Unknown block '%s'" % block
	if res == []:
		b = Block()
		res = [b]
	return res