Return whether *c* can be interpreted as an item in the color cycle.
(c)
| 219 | |
| 220 | |
| 221 | def _is_nth_color(c): |
| 222 | """Return whether *c* can be interpreted as an item in the color cycle.""" |
| 223 | return isinstance(c, str) and _nth_color_re.match(c) |
| 224 | |
| 225 | |
| 226 | def is_color_like(c): |
no outgoing calls
no test coverage detected
searching dependent graphs…