New submission from follower:

The logging module documentation 
<http://docs.python.org/3.4/library/logging.html> makes reference to the levels 
DEBUG, INFO etc (e.g. in 
<http://docs.python.org/3.4/library/logging.html#logging.Logger.setLevel>) but 
AFAICT these constants are not documented in the module itself.

e.g I would expect a section like this

Level Constants
logging.DEBUG 10
logging.INFO  20
etc etc

(Although the actual values may not be listed depending on what your policy is 
for documenting "magic numbers".)

----------
assignee: docs@python
components: Documentation
messages: 205334
nosy: docs@python, follower
priority: normal
severity: normal
status: open
title: logging docs don't document integer constants
type: enhancement
versions: Python 2.7, Python 3.5

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19902>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to