-
Notifications
You must be signed in to change notification settings - Fork 95
Implement and of set #82
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
Conversation
py/tests/set.py
Outdated
@@ -0,0 +1,16 @@ | |||
# Copyright 2018 The go-python Authors. All rights reserved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copyright 2018 -> Copyright 2019
py/set.go
Outdated
ret := NewSet() | ||
b, ok := other.(*Set) | ||
if !ok { | ||
return nil, TypeError |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return nil, ExceptionNewf(TypeError, "unsupported operand type(s) for &: '%s' and '%s'", s.Type().Name, other.Type().Name)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed the return value of the function
Codecov Report
@@ Coverage Diff @@
## master #82 +/- ##
==========================================
+ Coverage 68.65% 68.83% +0.17%
==========================================
Files 59 59
Lines 10525 10534 +9
==========================================
+ Hits 7226 7251 +25
+ Misses 2790 2774 -16
Partials 509 509
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM Thanks for the contribution. @DoDaek
ISSUE: #76