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.

classification
Title: Doc Typo
Type: Stage: resolved
Components: Documentation Versions: Python 3.2
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, python-dev, serverhorror
Priority: normal Keywords: patch

Created on 2011-06-18 20:11 by serverhorror, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
2d9bc44963f6.diff serverhorror, 2011-06-18 20:13 review
Repositories containing patches
https://bitbucket.org/serverhorror/cpython/changeset/2d9bc44963f6
https://bitbucket.org/serverhorror/cpython
Messages (3)
msg138594 - (view) Author: Martin Marcher (serverhorror) Date: 2011-06-18 20:11
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.
msg138595 - (view) Author: Martin Marcher (serverhorror) Date: 2011-06-18 20:12
Fix repo link :(
msg138679 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-06-20 01:25
New changeset d310cc1c3a5d by Senthil Kumaran in branch '3.2':
Fix closes issue 12360 -  correcting parameter names in asyncore documentation.
http://hg.python.org/cpython/rev/d310cc1c3a5d
History
Date User Action Args
2022-04-11 14:57:18adminsetgithub: 56569
2011-06-20 01:25:39python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg138679

resolution: fixed
stage: resolved
2011-06-18 20:13:20serverhorrorsetfiles: + 2d9bc44963f6.diff
keywords: + patch
2011-06-18 20:12:48serverhorrorsethgrepos: + hgrepo31
messages: + msg138595
2011-06-18 20:11:12serverhorrorcreate