Skip to content

Commit

Permalink
Link to correct TimeoutError in futures docs (#9216)
Browse files Browse the repository at this point in the history
  • Loading branch information
plamut authored Sep 12, 2019
1 parent 10eb892 commit 5b80023
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pubsub/google/cloud/pubsub_v1/futures.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def result(self, timeout=None):
times out and raises TimeoutError.
Raises:
~.pubsub_v1.TimeoutError: If the request times out.
concurrent.futures.TimeoutError: If the request times out.
Exception: For undefined exceptions in the underlying
call execution.
"""
Expand All @@ -114,7 +114,7 @@ def exception(self, timeout=None):
times out and raises TimeoutError.
Raises:
TimeoutError: If the request times out.
concurrent.futures.TimeoutError: If the request times out.
Returns:
Exception: The exception raised by the call, if any.
Expand Down
2 changes: 1 addition & 1 deletion pubsub/google/cloud/pubsub_v1/publisher/futures.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def result(self, timeout=None):
str: The message ID.
Raises:
~.pubsub_v1.TimeoutError: If the request times out.
concurrent.futures.TimeoutError: If the request times out.
Exception: For undefined exceptions in the underlying
call execution.
"""
Expand Down

0 comments on commit 5b80023

Please sign in to comment.