original_docstring: Remove specified host/port or clear all resolve cache.
docstring: Remove specified host/port or clear all resolve cache.
docstring_tokens: Remove specified host / port or clear all resolve cache .
code: def clear_resolved_hosts(self, host=None, port=None):
          """Remove specified host/port or clear all resolve cache."""
          warnings.warn((".clear_resolved_hosts() is deprecated, "
                         "use .clear_dns_cache() instead"),
                        DeprecationWarning, stacklevel=2)
          if host is not None and port is not None:
              self.clear_dns_cache(host, port)
          else:
              self.clear_dns_cache()
code_tokens: def clear_resolved_hosts ( self , host = None , port = None ) : warnings . warn ( ( ".clear_resolved_hosts() is deprecated, " "use .clear_dns_cache() instead" ) , DeprecationWarning , stacklevel = 2 ) if host is not None and port is not None : self . clear_dns_cache ( host , port ) else : self . clear_dns_cache ( )
short_docstring: Remove specified host/port or clear all resolve cache.
short_docstring_tokens: Remove specified host / port or clear all resolve cache .
comment: """Remove specified host/port or clear all resolve cache."""