Skip to content

Commit 8eb459b

Browse files
author
czheo
committed
bump version to 0.2.2
2 parents b0e2f6b + 8d99793 commit 8eb459b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ range(10) /has/ '__iter__'
150150
- support pipe.
151151

152152
``` python
153-
from syntax_sugar import INF, NEGINF, take, each
153+
from syntax_sugar import INF, take, each
154154

155155
# CAUTION: this will infinitely print numbers
156156
for i in 1 /to/ INF:
@@ -160,7 +160,11 @@ list(1 /to/ INF /take/ 5)
160160
# there is a `take` functon which is similar to itertools.islice
161161
# return [1, 2, 3, 4, 5]
162162

163+
<<<<<<< HEAD
163164
list(0 /to/ NEGINF /step/ 2 /take/ 5)
165+
=======
166+
list(0 /to/ -INF /by/ 2 /take/ 5)
167+
>>>>>>> 8d9979391206cfdf63a5decf720bfd1c31549685
164168
# also works with negative infinity.
165169
# return [0, -2, -4, -6, -8]
166170

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name="syntax_sugar",
5-
version="0.2.1",
5+
version="0.2.2",
66
url='https://github.com/czheo/syntax_sugar_python',
77
description="add syntactic sugar to Python",
88
author="czheo",

0 commit comments

Comments
 (0)