[docs] found an error in documentation

Sandro Tosi sandro.tosi at gmail.com
Sun Dec 25 15:29:19 CET 2011

Hello Felipe,
thanks for your email.

On Wed, Nov 23, 2011 at 20:25, Ing. Felipe Martinez
<fmartinez at syscom.com.mx> wrote:
> in SocketServer.UDPServer Example¶
> http://docs.python.org/library/socketserver.html#examples
> on the line 13 have a error :
> 13       print "{} wrote:".format(self.client_address[0])    # on this line
> have the error, you concatenate whit . and need to be whit +

why do you think this is an error, did you try to run the code? :)
that line is correct and it's using the string formatting syntax:

Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

More information about the docs mailing list