Skip to content

(Very small) allow trailing commas in assign or tuples#11723

Closed
eellison wants to merge 1 commit intopytorch:masterfrom
eellison:single_tuple_or_assign
Closed

(Very small) allow trailing commas in assign or tuples#11723
eellison wants to merge 1 commit intopytorch:masterfrom
eellison:single_tuple_or_assign

Conversation

@eellison
Copy link
Contributor

Allow trailing commas in assign statements or tuples, which also allows single element tuples.

@pytorchbot pytorchbot added the oncall: jit Add this issue/PR to JIT oncall triage queue label Sep 14, 2018
@ssnl
Copy link
Collaborator

ssnl commented Sep 25, 2018

@zdevito Does this look good to you?

while(L.cur().kind != end) {
L.expect(',');
if (L.cur().kind == end)
break;

This comment was marked as off-topic.

This comment was marked as off-topic.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eellison is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

oncall: jit Add this issue/PR to JIT oncall triage queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants