Skip to content

Commit 86d29a3

Browse files
author
Michael Dunn
committed
Update logging.rst
The name of a dictionary key `root` was not properly enclosed in quotes, which results in a syntax error when people copy this code. Thanks!
1 parent 4ffb7ff commit 86d29a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/writing/logging.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ the configuration dictionary.
166166
'level': logging.DEBUG}
167167
},
168168
loggers = {
169-
root : {'handlers': ['h'],
169+
'root' : {'handlers': ['h'],
170170
'level': logging.DEBUG}
171171
}
172172
)

0 commit comments

Comments
 (0)