python: Normalize quotes with Black.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2021-02-11 23:20:45 -08:00
committed by Tim Abbott
parent 11741543da
commit 6e4c3e41dc
989 changed files with 32792 additions and 32792 deletions

View File

@@ -9,13 +9,13 @@ from typing import Any, Callable, Optional, Tuple, Type, TypeVar
class TimeoutExpired(Exception):
'''Exception raised when a function times out.'''
"""Exception raised when a function times out."""
def __str__(self) -> str:
return 'Function call timed out.'
return "Function call timed out."
ResultT = TypeVar('ResultT')
ResultT = TypeVar("ResultT")
def timeout(timeout: float, func: Callable[..., ResultT], *args: Any, **kwargs: Any) -> ResultT: