Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)
dict() -> new empty dictionary
dict(mapping) -> new dictionary initialized from a mapping object's
    (key, value) pairs
dict(iterable) -> new dictionary initialized as if via:
    d = {}
    for k, v in iterable:
        d[k] = v
dict(**kwargs) -> new dictionary initialized with the name=value pairs
    in the keyword argument list.  For example:  dict(one=1, two=2)

src/s/h/Shoreditch-Gamerunner-HEAD/logic.py   Shoreditch-Gamerunner(Download)
def purchase_generator(db, game, player):
	if sum(player['generators'].values()) >= config.MAX_RESOURCE_GENERATORS:
		abort(400, "You can't build any more generators")
	charge_resources(player, config.GENERATOR_COST)