Skip to content

Implement and of set - #82

Merged
corona10 merged 3 commits into
go-python:masterfrom
DoDaek:issue-76
Sep 16, 2019
Merged

Implement and of set#82
corona10 merged 3 commits into
go-python:masterfrom
DoDaek:issue-76

Conversation

@DoDaek

@DoDaek DoDaek commented Sep 15, 2019

Copy link
Copy Markdown
Contributor

ISSUE: #76

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

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

Comment thread py/set.go Outdated
ret := NewSet()
b, ok := other.(*Set)
if !ok {
return nil, TypeError

Copy link
Copy Markdown
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)

@DoDaek DoDaek Sep 15, 2019

Copy link
Copy Markdown
Contributor Author

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

codecov-io commented Sep 15, 2019

Copy link
Copy Markdown

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.

@corona10 corona10 left a comment

Copy link
Copy Markdown
Collaborator

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

3 participants