MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / srange

Function srange

Tools/pybench/CommandLine.py:103–128  ·  view source on GitHub ↗

Converts a textual representation of integer numbers and ranges to a Python list. Supported formats: 2,3,4,2-10,-1 - -3, 5 - -2 Values are appended to the created list in the order specified in the string.

(s,

           split=string.split,integer=_integerRE,
           integerRange=_integerRangeRE)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

splitFunction · 0.50
matchMethod · 0.45

Tested by

no test coverage detected