Changeset 11104 for dotorg/trunk

Show
Ignore:
Timestamp:
05/27/2008 08:56:26 PM (6 months ago)
Author:
dave
Message:

Fix error in sample source code that prevented compile from rst to html.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dotorg/trunk/html/beps/bep_0025.rst

    r11099 r11104  
    173173In Python, the cache tracker's address can be obtained using the following:: 
    174174 
    175 :: 
    176  
    177175  import socket 
    178176   
     
    184182     name = "bittorrent-tracker." + ".".join(names) 
    185183     try: 
    186        print "looking up name ", name 
    187184       ip = socket.gethostbyname(name) 
    188185       break 
     
    196193:: 
    197194 
    198   '151.164.129.4' 
     195  response='151.164.129.4' 
    199196 
    200197The answer above is fictional since AT&T does not at this time