Browse Source

Typo of variable name

Dmytro Petruk 8 years ago
parent
commit
bbb580b76e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/userguide/configuration.rst

+ 1 - 1
docs/userguide/configuration.rst

@@ -1739,7 +1739,7 @@ Example::
 
     # Random failover strategy
     def random_failover_strategy(servers):
-        it = list(it)  # don't modify callers list
+        it = list(servers)  # don't modify callers list
         shuffle = random.shuffle
         for _ in repeat(None):
             shuffle(it)