Skip to content

Conversation

@mdickinson
Copy link
Member

@mdickinson mdickinson commented Aug 26, 2018

This PR makes the following (currently illegal) syntax legal:

def f():
    return *(1, 2), *(3, 4)

This eliminates an inconsistency between the target of a return and the target of a simple assignment: the following syntax is already legal:

def f():
    x = *(1, 2), *(3, 4)
    return x

https://bugs.python.org/issue34508

@gvanrossum
Copy link
Member

Shouldn't we just close this? This has already been done.

@gvanrossum
Copy link
Member

Superseded by GH-4509

@gvanrossum gvanrossum closed this Oct 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting merge type-feature A feature request or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants