parameters: (self, sock, n)
return_statement: return await fut
docstring: Receive data from the socket.
  
          The return value is a bytes object representing the data received.
          The maximum amount of data to be received at once is specified by
          nbytes.
docstring_summary: Receive data from the socket.
docstring_tokens: Receive data from the socket .
function: async def sock_recv(self, sock, n):
          """Receive data from the socket.
  
          The return value is a bytes object representing the data received.
          The maximum amount of data to be received at once is specified by
          nbytes.
          """
          _check_ssl_socket(sock)
          if self._debug and sock.gettimeout() != 0:
              raise ValueError("the socket must be non-blocking")
          fut = self.create_future()
          self._sock_recv(fut, None, sock, n)
          return await fut
function_tokens: async def sock_recv ( self , sock , n ) : _check_ssl_socket ( sock ) if self . _debug and sock . gettimeout ( ) != 0 : raise ValueError ( "the socket must be non-blocking" ) fut = self . create_future ( ) self . _sock_recv ( fut , None , sock , n ) return await fut