Skip to content

Commit 5de989b

Browse files
nfsechonzakral
authored andcommitted
Fix some spelling errors in docstrings from 2015. (elastic#571)
1 parent b803c2d commit 5de989b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

elasticsearch/connection_pool.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ class ConnectionPool(object):
8585
put on a timeout (if it fails N times in a row the timeout is exponentially
8686
longer - the formula is `default_timeout * 2 ** (fail_count - 1)`). When
8787
the timeout is over the connection will be resurrected and returned to the
88-
live pool. A connection that has been peviously marked as dead and
89-
succeedes will be marked as live (it's fail count will be deleted).
88+
live pool. A connection that has been previously marked as dead and
89+
succeeds will be marked as live (its fail count will be deleted).
9090
"""
9191
def __init__(self, connections, dead_timeout=60, timeout_cutoff=5,
9292
selector_class=RoundRobinSelector, randomize_hosts=True, **kwargs):

elasticsearch/transport.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def __init__(self, hosts, connection_class=Urllib3HttpConnection,
7474
will be serialized and passed as a query parameter `source`.
7575
7676
Any extra keyword arguments will be passed to the `connection_class`
77-
when creating and instance unless overriden by that connection's
77+
when creating and instance unless overridden by that connection's
7878
options provided as part of the hosts parameter.
7979
"""
8080

0 commit comments

Comments
 (0)