Skip to content

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

Merged
merged 3 commits into from
Sep 16, 2019
Merged

Implement and of set #82

merged 3 commits into from
Sep 16, 2019

Conversation

DoDaek
Copy link
Contributor

@DoDaek DoDaek commented Sep 15, 2019

ISSUE: #76

py/tests/set.py Outdated
@@ -0,0 +1,16 @@
# Copyright 2018 The go-python Authors. All rights reserved.
Copy link
Collaborator

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
Copy link
Collaborator

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)

Copy link
Contributor Author

@DoDaek DoDaek Sep 15, 2019

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-io
Copy link

codecov-io commented Sep 15, 2019

Codecov Report

Merging #82 into master will increase coverage by 0.17%.
The diff coverage is 77.77%.

Impacted file tree graph

@@            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
Impacted Files Coverage Δ
py/set.go 31.08% <77.77%> (+31.08%) ⬆️
py/sequence.go 54.83% <0%> (+2.15%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update eb115a9...ca6e411. Read the comment docs.

Copy link
Collaborator

@corona10 corona10 left a 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

@corona10 corona10 merged commit 4f7bb19 into go-python:master Sep 16, 2019
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.

3 participants