Skip to content

Document default argument syntax #1687

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

Merged
merged 1 commit into from
Oct 26, 2017

Conversation

srittau
Copy link
Collaborator

@srittau srittau commented Oct 25, 2017

I suggest to add something similar to what is suggested in this PR to the README to clarify the default argument syntax (per PR #1686). Potentially the change to the example is enough, because the second list item already hints at using ... over the actual default value.

@JelleZijlstra
Copy link
Member

Looks good, thanks for clarifying this! There is some similar advice in CONTRIBUTING.md, so maybe we should (separately) spend some time deduplicating that. I'll merge this once Travis is green.

@JelleZijlstra JelleZijlstra merged commit 0b0a958 into python:master Oct 26, 2017
@srittau srittau deleted the readme-default-values branch October 26, 2017 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants