diff --git a/docs/library/esp.rst b/docs/library/esp.rst
index 3411067e246c76fc80c51594f785681241d1adaf..959bba064ab1506588356434589cd30d1851a853 100644
--- a/docs/library/esp.rst
+++ b/docs/library/esp.rst
@@ -17,14 +17,6 @@ Functions
     If the ``address`` parameter is provided, sets the address to its value. If
     the function is called wihout parameters, returns the current address.
 
-.. function:: getaddrinfo((hostname, port, lambda))
-
-    Initiate resolving of the given hostname.
-
-    When the hostname is resolved, the provided ``lambda`` callback will be
-    called with two arguments, first being the hostname being resolved,
-    second a tuple with information about that hostname.
-
 .. function:: wifi_mode([mode])
 
     Get or set the wireless network operating mode.