Skip to content

Commit 03dd000

Browse files
committed
-
1 parent 48c8e04 commit 03dd000

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

source_py3/python_toolbox/sequence_tools/cute_range.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96,18 +96,18 @@ class CuteRange(CuteSequence):
9696
9797
Examples:
9898
99-
CuteRange(float('inf')) is an infinite range starting at zero and never
100-
ending.
99+
`CuteRange(float('inf'))` is an infinite range starting at zero and
100+
never ending.
101101
102-
CuteRange(7, float('inf')) is an infinite range starting at 7 and never
103-
ending. (Like `itertools.count(7)` except it has all the amenities of a
104-
sequence, you can get items using list notation, you can slice it, you
105-
can get index numbers of items, etc.)
102+
`CuteRange(7, float('inf'))` is an infinite range starting at 7 and
103+
never ending. (Like `itertools.count(7)` except it has all the
104+
amenities of a sequence, you can get items using list notation, you can
105+
slice it, you can get index numbers of items, etc.)
106106
107-
CuteRange(-1.6, 7.3) is the finite range of numbers `(-1.6, -0.6, 0.4,
107+
`CuteRange(-1.6, 7.3)` is the finite range of numbers `(-1.6, -0.6, 0.4,
108108
1.4, 2.4, 3.4, 4.4, 5.4, 6.4)`.
109109
110-
CuteRange(10.4, -float('inf'), -7.1) is the infinite range of numbers
110+
`CuteRange(10.4, -float('inf'), -7.1)` is the infinite range of numbers
111111
`(10.4, 3.3, -3.8, -10.9, -18.0, -25.1, ... )`.
112112
113113
'''

0 commit comments

Comments
 (0)