Idea: Get count value from string representation
Open
- Dominant language
- Python
- Stars
- 40
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
At least in the version of Python I'm using (2.7.15), calling the builtin `str` function on an `itertools.count` object will return a string that looks like `"count(0)"`. Parsing it out would be as simple as `int(str(count)[6:-1])`.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.