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

Improve doc of IncrementalEncoder #2746

Merged
merged 1 commit into from
Sep 10, 2017

Conversation

zmwangx
Copy link
Contributor

@zmwangx zmwangx commented Jul 18, 2017

getstate and setstate are instance methods just like encode and reset, but currently they look like static/class methods in the docs, which is slightly confusing:

screen shot 2017-07-18 at 10 39 47 am

getstate and setstate are instance methods just like encode and reset.
@mention-bot
Copy link

@zmwangx, thanks for your PR! By analyzing the history of the files in this pull request, we identified @birkenfeld, @ncoghlan and @benjaminp to be potential reviewers.

@zmwangx
Copy link
Contributor Author

zmwangx commented Jul 18, 2017

IMO this is trivial enough that no bpo issue is needed.

@miss-islington
Copy link
Contributor

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 10, 2017
getstate and setstate are instance methods, same as encode and reset.
(cherry picked from commit 30644de)
@bedevere-bot
Copy link

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

@zmwangx zmwangx deleted the incrementalencoder-doc branch September 10, 2017 08:45
Mariatta pushed a commit that referenced this pull request Sep 10, 2017
getstate and setstate are instance methods, same as encode and reset.
(cherry picked from commit 30644de)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip issue skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants