Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
Prepend the value to the beginning of the existing key's value.

Only stores in memcache if key already exists.
Also see L{append}.

@return: Nonzero on success.
@rtype: int

src/m/e/memcache-debug-panel-HEAD/test/__init__.py   memcache-debug-panel(Download)
        self.assertLastCall('append', empty, 'simple append, empty')
        # prepend
        self.assertTrue(client.prepend(key, value), 'simple prepend')
        self.assertLastCall('prepend', key, 'simmple prepend, exists')
        self.assertFalse(client.prepend(empty, value), 'simple prepend, empty')

src/c/a/Cache-Debug-Toolbar-HEAD/test/__init__.py   Cache-Debug-Toolbar(Download)
        self.assertLastCall('append', empty, 'simple append, empty')
        # prepend
        self.assertTrue(client.prepend(key, value), 'simple prepend')
        self.assertLastCall('prepend', key, 'simmple prepend, exists')
        self.assertFalse(client.prepend(empty, value), 'simple prepend, empty')