Skip to content

Conversation

@Sungmin-Joo
Copy link
Contributor

@Sungmin-JooSungmin-Joo commented Sep 25, 2019

line 190 to 193.
I tried to apply the end option to the print function.
Added code performed when "end" value of parameter "kwargs" is not "nil".

Fix line 190 to 193. The print function corrected the end option not applied. Added code performed when "end" value of parameter "kwargs" is not "nil".
@codecov-io
Copy link

codecov-io commented Sep 25, 2019

Codecov Report

Merging #90 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@ Coverage Diff @@## master #90 +/- ## ========================================== + Coverage 68.93% 68.94% +<.01%  ========================================== Files 60 60 Lines 10624 10626 +2 ========================================== + Hits 7324 7326 +2  Misses 2782 2782 Partials 518 518
Impacted FilesCoverage Δ
builtin/builtin.go79.74% <100%> (+0.07%)⬆️

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 70a66f2...5425d9c. Read the comment docs.

Copy link
Collaborator

@corona10corona10 left a comment

Choose a reason for hiding this comment

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

@Sungmin-Joo
Thank you for your contribution!!!
We need the unit test for this changed.
here is the reference

withopen("testfile", "w") asf:

you can check your logic through file read

Fix line 190 to 193. The print function corrected the end option not applied. Added code performed when "end" value of parameter "kwargs" is not "nil".
add "end" option test in line 312
add "end" option test add "end" option test in line 312
Copy link
Collaborator

@corona10corona10 left a comment

Choose a reason for hiding this comment

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

@Sungmin-Joo Thank for your contribution!
LGTM

@corona10corona10 merged commit 16d3870 into go-python:masterSep 26, 2019
@ghost
Copy link

@Sungmin-Joo
The following code writes different string to the stream than in CPython:
print(1,2,3, end="||\n")

corona10 added a commit that referenced this pull request Sep 28, 2019
corona10 added a commit that referenced this pull request Sep 28, 2019
Sign up for freeto 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

@Sungmin-Joo@codecov-io@corona10