Commits

Tomasz Rybarczyk committed 33f96a1

Cosmetics

Comments (0)

Files changed (1)

 
 * you have to explicite overwrite value in RedisDict instance:
 
+
     >>> import redis_dict, redis
     >>> connection = redis.Redis()
     >>> rd = redis_dict.RedisDict('new-dict', connection)
     >>> print rd['a']['key']
     new value
 
+
 * such an update is not atomic operation - prefered way to do it is to use `execute_update` method which uses redis transactions (`WATCH` and `MULTI`) to ensure atomicity of operation:
 
+
     >>> import redis_dict, redis
     >>> connection = redis.Redis()
     >>> rd = redis_dict.RedisDict('new-dict', connection)