From 5de989be075aaf3c9429ed7a00bfc1891764292d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20Krawaczy=C5=84ski?= Date: Fri, 19 May 2017 23:49:42 +0200 Subject: [PATCH] Fix some spelling errors in docstrings from 2015. (#571) --- elasticsearch/connection_pool.py | 4 ++-- elasticsearch/transport.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/elasticsearch/connection_pool.py b/elasticsearch/connection_pool.py index dbe9a787..c28bb3cc 100644 --- a/elasticsearch/connection_pool.py +++ b/elasticsearch/connection_pool.py @@ -85,8 +85,8 @@ class ConnectionPool(object): put on a timeout (if it fails N times in a row the timeout is exponentially longer - the formula is `default_timeout * 2 ** (fail_count - 1)`). When the timeout is over the connection will be resurrected and returned to the - live pool. A connection that has been peviously marked as dead and - succeedes will be marked as live (it's fail count will be deleted). + live pool. A connection that has been previously marked as dead and + succeeds will be marked as live (its fail count will be deleted). """ def __init__(self, connections, dead_timeout=60, timeout_cutoff=5, selector_class=RoundRobinSelector, randomize_hosts=True, **kwargs): diff --git a/elasticsearch/transport.py b/elasticsearch/transport.py index 9408ae42..012c5a3c 100644 --- a/elasticsearch/transport.py +++ b/elasticsearch/transport.py @@ -74,7 +74,7 @@ class Transport(object): will be serialized and passed as a query parameter `source`. Any extra keyword arguments will be passed to the `connection_class` - when creating and instance unless overriden by that connection's + when creating and instance unless overridden by that connection's options provided as part of the hosts parameter. """