mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 23:00:18 +00:00
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!
This commit is contained in:
@@ -166,7 +166,7 @@ the configuration dictionary.
|
||||
'level': logging.DEBUG}
|
||||
},
|
||||
loggers = {
|
||||
root : {'handlers': ['h'],
|
||||
'root' : {'handlers': ['h'],
|
||||
'level': logging.DEBUG}
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user