Skip to content

Commit cf23171

Browse files
bobahopkotp
andcommitted
Update docs/TRACEBACKS.md
Co-authored-by: Victor Goff <keeperotphones@gmail.com>
1 parent 099b74f commit cf23171

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/TRACEBACKS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,15 +118,15 @@ For a persistent log, the logger can be configured to use a file, like so:
118118
```python
119119

120120
>>> import logging
121-
...
121+
...
122122
... # configures the output file name to example.log, and the minimum logging level as INFO
123123
... logging.basicConfig(filename='example.log', level=logging.INFO)
124-
...
124+
...
125125
... def halve_and_quadruple(num):
126126
... # prints INFO:root: num == 5 to the example.log file
127127
... logging.info(f" num == {num}")
128128
... return (num // 2) * 4
129-
...
129+
...
130130
>>> print(halve_and_quadruple(5))
131131

132132
```

0 commit comments

Comments
 (0)