From: Daniele Varrazzo Date: Tue, 31 Mar 2020 16:43:04 +0000 (+1300) Subject: Definition with a wrong default changed into declaration X-Git-Tag: 3.0.dev0~636 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c89f82caf10409e269a42ff4bb69f50b8e5683ca;p=thirdparty%2Fpsycopg.git Definition with a wrong default changed into declaration --- diff --git a/psycopg3/waiting.py b/psycopg3/waiting.py index f521307a8..0128cb290 100644 --- a/psycopg3/waiting.py +++ b/psycopg3/waiting.py @@ -73,7 +73,7 @@ async def wait_async(gen: Generator[Tuple[int, Wait], Ready, RV]) -> RV: # Not sure this is the best implementation but it's a start. ev = Event() loop = get_event_loop() - ready = Ready.R + ready: Ready def wakeup(state: Ready) -> None: nonlocal ready