Skip to content

Commit f29e9d6

Browse files
Gigi Sayfanlavagetto
authored andcommitted
Fix doc comment of client.watch() (#164)
* Fix doc comment of client.watch() The exception raised when the timeout expires is etcd.EtcdWatchTimedOut
1 parent c067975 commit f29e9d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/etcd/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -754,9 +754,9 @@ def watch(self, key, index=None, timeout=None, recursive=None):
754754
client.EtcdResult
755755
756756
Raises:
757-
KeyValue: If the key doesn't exists.
757+
KeyValue: If the key doesn't exist.
758758
759-
urllib3.exceptions.TimeoutError: If timeout is reached.
759+
etcd.EtcdWatchTimedOut: If timeout is reached.
760760
761761
>>> print client.watch('/key').value
762762
'value'

0 commit comments

Comments
 (0)