New submission from Santoso Wijaya <santoso.wij...@gmail.com>:

For example, the function `fileConfig` is listed in the documentation [1] as 
`logging.fileConfig`. This was a surprise for me when trying it gave me an 
AttributeError. Only after reading the source code that I found out this 
function is defined in the `logging.config` module, and must be referenced as 
such.

[1] http://docs.python.org/library/logging.html#logging.fileConfig

----------
assignee: docs@python
components: Documentation
messages: 131791
nosy: docs@python, santa4nt
priority: normal
severity: normal
status: open
title: Documentation for *Config functions in logging module should be in 
logging.config
versions: Python 2.7

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

Reply via email to