MCPcopy Create free account
hub / github.com/EntilZha/PyFunctional / range

Method range

functional/streams.py:123–133  ·  view source on GitHub ↗

Alias to range function where seq.range(args) is equivalent to seq(range(args)). >>> seq.range(1, 8, 2) [1, 3, 5, 7] :param args: args to range function :return: range(args) wrapped by a sequence

(self, *args)

Source from the content-addressed store, hash-verified

121 return self("".join(list(file)).split(delimiter))
122
123 def range(self, *args):
124 """
125 Alias to range function where seq.range(args) is equivalent to seq(range(args)).
126
127 >>> seq.range(1, 8, 2)
128 [1, 3, 5, 7]
129
130 :param args: args to range function
131 :return: range(args) wrapped by a sequence
132 """
133 return self(builtins.range(*args)) # pylint: disable=no-member
134
135 def csv(self, csv_file, dialect="excel", **fmt_params):
136 """

Callers 4

test_rangeMethod · 0.80
test_cartesianMethod · 0.80
test_repr_max_linesMethod · 0.80
test_custom_functionsMethod · 0.80

Calls

no outgoing calls

Tested by 4

test_rangeMethod · 0.64
test_cartesianMethod · 0.64
test_repr_max_linesMethod · 0.64
test_custom_functionsMethod · 0.64