parameters: (self)
return_statement: return current_time() - self._start_connect
docstring: Gets the time elapsed since the call to :meth:`start_connect`.
  
          :return: the elapsed time
          :rtype: float
          :raises urllib3.exceptions.TimeoutStateError: if you attempt
              to get duration for a timer that hasn't been started.
docstring_summary: Gets the time elapsed since the call to :meth:`start_connect`.
docstring_tokens: Gets the time elapsed since the call to : meth : start_connect .
function: def get_connect_duration(self):
          """ Gets the time elapsed since the call to :meth:`start_connect`.
  
          :return: the elapsed time
          :rtype: float
          :raises urllib3.exceptions.TimeoutStateError: if you attempt
              to get duration for a timer that hasn't been started.
          """
          if self._start_connect is None:
              raise TimeoutStateError("Can't get connect duration for timer "
                                      "that has not started.")
          return current_time() - self._start_connect
function_tokens: def get_connect_duration ( self ) : if self . _start_connect is None : raise TimeoutStateError ( "Can't get connect duration for timer " "that has not started." ) return current_time ( ) - self . _start_connect