From b00f89781da1dcd4ccebf4e11e6a276e83cd436c Mon Sep 17 00:00:00 2001 From: Michael Genson Date: Sun, 20 Mar 2022 18:22:08 -0500 Subject: [PATCH] Updated README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0649b43..70eddb5 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ Output: If you'd like to retain the built-in `enumerate()` function, or you'd like to have both, you can use `from progresslogger import ProgressLogger` or `import progresslogger` and use `progresslogger.enumerate(...)`. -You may wish to insert the log in the middle of a loop, or otherwise implement your logger yourself. Simply initialize `ProgressLogger` before the loop, and call `mylogger.log()` once each loop: +You may wish to insert the log in the middle of a loop, or otherwise implement your logger yourself. Simply initialize `ProgressLogger` before the loop, and call `my_logger.log()` once each loop: ``` my_logger = ProgressLogger(my_list) # be sure to pass your collection when initializing your logger for letter in my_list: