Skip to content

Commit

Permalink
Correction for #2
Browse files Browse the repository at this point in the history
  • Loading branch information
sylhare committed Apr 30, 2017
1 parent c265643 commit a6befd5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# PyPrime [![Build Status](https://travis-ci.org/Sylhare/PyPrime.svg?branch=master)](https://travis-ci.org/Sylhare/PyPrime)
# PyPrime [![Build Status](https://travis-ci.org/Sylhare/PyPrime.svg?branch=master)](https://travis-ci.org/Sylhare/PyPrime) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/e5a9dd6a55fb4709becbb84b8c538d54)](https://www.codacy.com/app/Sylhare/PyPrime?utm_source=github.com&utm_medium=referral&utm_content=Sylhare/PyPrime&utm_campaign=Badge_Grade) [![Code Issues](https://www.quantifiedcode.com/api/v1/project/f4025e061bb64a60a9531443ca26d25f/badge.svg)](https://www.quantifiedcode.com/app/project/f4025e061bb64a60a9531443ca26d25f)
---
[![forthebadge](http:https://forthebadge.com/images/badges/made-with-python.svg)](http:https://forthebadge.com) [![forthebadge](http:https://forthebadge.com/images/badges/built-with-science.svg)](http:https://forthebadge.com)

Expand Down
4 changes: 2 additions & 2 deletions src/examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@author: sylhare
"""

from __future__ import print_function #To make the end='' works in the print()
import pyprime as p
import unit_test as ut
import toolbox as tb
Expand All @@ -28,4 +28,4 @@

filepath = tb.save(ut.unit_test(p.isPrime), "test")
for x in tb.read(filepath):
print (x, end='')
print(x, end='') #So there's no '\n' after each print

0 comments on commit a6befd5

Please sign in to comment.