Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
Closed
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir
Description
Documentation
https://docs.python.org/3/howto/logging-cookbook.html#use-of-contextvars
The argument count should be converted to integer type if user passes value to main.py.
$ python3 main.py --count 100 Traceback (most recent call last): File "/home/tom/main.py", line 138, in<module>main() File "/home/tom/main.py", line 117, in main foriin range(options.count): TypeError: 'str' object cannot be interpreted as an integerLinked PRs
Metadata
Metadata
Assignees
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir