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

PEP 3132: Fix example description #1293

Merged
merged 1 commit into from Feb 3, 2020
Merged

PEP 3132: Fix example description #1293

merged 1 commit into from Feb 3, 2020

Conversation

@birkenfeld
Copy link
Member

@birkenfeld birkenfeld commented Feb 3, 2020

With two elements, the starred middle expression just is an empty list.

With two elements, the starred middle expression just is an empty list.
@Rosuav
Copy link
Contributor

@Rosuav Rosuav commented Feb 3, 2020

Was this an error as it originally was published, or is it something that changed later on? Does anyone recall?

@birkenfeld
Copy link
Member Author

@birkenfeld birkenfeld commented Feb 3, 2020

I don't think it ever worked (or was supposed to) differently; the equivalent expression with slicing shows my intent.

@Rosuav
Copy link
Contributor

@Rosuav Rosuav commented Feb 3, 2020

Gotcha, thanks for the clarification.

@Rosuav Rosuav merged commit 89b0b69 into master Feb 3, 2020
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
@Rosuav Rosuav deleted the birkenfeld-patch-1 branch Feb 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants