From 09efc6c37d7980f45e09f9ba415a90a64a0a1fda Mon Sep 17 00:00:00 2001
From: Dmitry Marakasov <amdmi3@amdmi3.ru>
Date: Mon, 22 Jul 2019 23:35:08 +0300
Subject: [PATCH] Fix typing in ClientRequest ctor (#3927)

...by moving field type annotation to class definition
---
 aiohttp/client_reqrep.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/aiohttp/client_reqrep.py b/aiohttp/client_reqrep.py
index 9f50d0503c7..7d1aad2e9da 100644
--- a/aiohttp/client_reqrep.py
+++ b/aiohttp/client_reqrep.py
@@ -171,7 +171,7 @@ class ClientRequest:
     body = b''
     auth = None
     response = None
-    response_class = None
+    response_class: Type['ClientResponse']
 
     _writer = None  # async task for streaming data
     _continue = None  # waiter future for '100 Continue' response
@@ -223,7 +223,7 @@ def __init__(self, method: str, url: URL, *,
             real_response_class = ClientResponse
         else:
             real_response_class = response_class
-        self.response_class = real_response_class  # type: Type[ClientResponse]
+        self.response_class = real_response_class
         self._timer = timer if timer is not None else TimerNoop()
         self._ssl = ssl