Browse Source

Typo of variable name

Dmytro Petruk 8 năm trước cách đây
mục cha
commit
bbb580b76e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)