Did I find the right examples for you? yes no

All Samples(8)  |  Call(8)  |  Derive(0)  |  Import(0)

src/p/y/pyredbulk-0.400/pyredbulk/hmset.py   pyredbulk(Download)
 
            self.setup_output(2 * len(d) + 2)
            self.write("HMSET")
            self.write(hash_name_fn(d))
            for k, v in d.iteritems():
                self.write(k)
                self.write(v)

src/p/y/pyredbulk-0.400/pyredbulk/hset.py   pyredbulk(Download)
        def output():
            # arg_len = COMMAND + HASH_NAME + FIELD + VALUE)
            self.setup_output(4)
            self.write("HMSET")
            self.write(hash_name)
            self.write(field)
            self.write(value)