This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serverhorror
Recipients docs@python, serverhorror
Date 2011-06-18.20:11:12
SpamBayes Score 0.0001836588
Marked as misclassified No
Message-id <1308427873.33.0.846212256461.issue12360@psf.upfronthosting.co.za>
In-reply-to
Content
Slight typo in the docs.

I don't quite know how to work with mercurial. Hope it'll just work to merge the bitbucket link.

Typo is here: http://docs.python.org/py3k/library/asyncore.html#asyncore.dispatcher.handle_accepted (but also present in tip)

The parameter is named *sock*, but the docs talk about *conn*.

regards
Martin


hg diff -r 9569d8c4c781
diff -r 9569d8c4c781 Doc/library/asyncore.rst
--- a/Doc/library/asyncore.rst	Sat Jun 18 13:02:42 2011 -0400
+++ b/Doc/library/asyncore.rst	Sat Jun 18 22:08:42 2011 +0200
@@ -157,7 +157,7 @@
 
       Called on listening channels (passive openers) when a connection has been
       established with a new remote endpoint that has issued a :meth:`connect`
-      call for the local endpoint.  *conn* is a *new* socket object usable to
+      call for the local endpoint.  *sock* is a *new* socket object usable to
       send and receive data on the connection, and *address* is the address
       bound to the socket on the other end of the connection.
History
Date User Action Args
2011-06-18 20:11:13serverhorrorsetrecipients: + serverhorror, docs@python
2011-06-18 20:11:13serverhorrorsetmessageid: <1308427873.33.0.846212256461.issue12360@psf.upfronthosting.co.za>
2011-06-18 20:11:12serverhorrorlinkissue12360 messages
2011-06-18 20:11:12serverhorrorcreate