Skip to content

Conversation

ElianMariano
Copy link

@ElianMariano ElianMariano commented Nov 22, 2020

else:
return year, month-1

return [year-1, 12] if month == 1 else [year, month-1]
Copy link
Member

Choose a reason for hiding this comment

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

One of the reasons we don't usually accept changes like this is because they might cause subtle changes. For example, you've switched the return type from a tuple to a list. I haven't checked if that will cause an actual problem or not in this case.

@ElianMariano ElianMariano deleted the fix-42439 branch November 26, 2020 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants