Pārlūkot izejas kodu

Remove unneeded indent in "HTTP client class"

Andrew Conrad 9 gadi atpakaļ
vecāks
revīzija
50b54fbc99
1 mainītis faili ar 1 papildinājumiem un 2 dzēšanām
  1. 1 2
      tutorials/http_client_class.rst

+ 1 - 2
tutorials/http_client_class.rst

@@ -27,9 +27,8 @@ It will connect and fetch a website.
         var err = http.connect("www.php.net",80) # Connect to host/port
         var err = http.connect("www.php.net",80) # Connect to host/port
         assert(err==OK) # Make sure connection was OK
         assert(err==OK) # Make sure connection was OK
 
 
-
+        # Wait until resolved and connected
         while( http.get_status()==HTTPClient.STATUS_CONNECTING or http.get_status()==HTTPClient.STATUS_RESOLVING):
         while( http.get_status()==HTTPClient.STATUS_CONNECTING or http.get_status()==HTTPClient.STATUS_RESOLVING):
-                    # Wait until resolved and connected
             http.poll()
             http.poll()
             print("Connecting..")
             print("Connecting..")
             OS.delay_msec(500)
             OS.delay_msec(500)