Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix BaseServer.finish_request arguments in docs #4445

Merged
merged 1 commit into from
Nov 19, 2017

Conversation

ma8ma
Copy link
Contributor

@ma8ma ma8ma commented Nov 17, 2017

socketserver.BaseServer.finish_request has two arguments (request, client_address), but they have been omitted in the document.

Source: https://github.com/python/cpython/blob/master/Lib/socketserver.py#L355
Documents: https://docs.python.org/3/library/socketserver.html#socketserver.BaseServer.finish_request

Show missing arguments (request, client_address).
@berkerpeksag berkerpeksag merged commit 7750bde into python:master Nov 19, 2017
@miss-islington
Copy link
Contributor

Thanks @ma8ma for the PR, and @berkerpeksag for merging it 🌮🎉.. I'm working now to backport this PR to: 3.6.
🐍🍒⛏🤖

@berkerpeksag
Copy link
Member

Thanks!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 19, 2017
@bedevere-bot
Copy link

GH-4460 is a backport of this pull request to the 3.6 branch.

berkerpeksag pushed a commit that referenced this pull request Nov 19, 2017
@ma8ma
Copy link
Contributor Author

ma8ma commented Nov 19, 2017

@berkerpeksag Thanks for merging 😄 I submit a patch to typeshed soon.

@ma8ma ma8ma deleted the doc-socketserver branch November 19, 2017 08:11
ma8ma added a commit to ma8ma/typeshed that referenced this pull request Nov 19, 2017
ma8ma added a commit to ma8ma/cpython that referenced this pull request Nov 19, 2017
berkerpeksag pushed a commit that referenced this pull request Nov 19, 2017
JelleZijlstra pushed a commit to python/typeshed that referenced this pull request Nov 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants