Skip to content

clock: Replace Clock.add() with operator Clock.__add__()#728

Merged
ilya-khadykin merged 2 commits intoexercism:masterfrom
cmccandless:clock-overload-operators
Oct 21, 2017
Merged

clock: Replace Clock.add() with operator Clock.__add__()#728
ilya-khadykin merged 2 commits intoexercism:masterfrom
cmccandless:clock-overload-operators

Conversation

@cmccandless
Copy link
Contributor

Resolves #727.

Copy link
Contributor

@ilya-khadykin ilya-khadykin left a comment

Choose a reason for hiding this comment

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

@cmccandless could you also update the exercise placeholder because the test suite now requires Clock class to have the magic method

@cmccandless
Copy link
Contributor Author

cmccandless commented Oct 21, 2017

@m-a-ge Requested changes made.

@ilya-khadykin ilya-khadykin merged commit c8defd9 into exercism:master Oct 21, 2017
@ilya-khadykin
Copy link
Contributor

Thanks, @cmccandless

@cmccandless cmccandless deleted the clock-overload-operators branch October 23, 2017 20:28
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